This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author gvanrossum
Recipients blarsen, gvanrossum, pablogsal
Date 2020-09-03.22:38:14
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <CAP7+vJJ=FWjJvaJSkeGBMm_FUN8VLWQyAsEUy-KYVYxN1udYoQ@mail.gmail.com>
In-reply-to <[email protected]>
Content
Hm, I don't believe that will work -- each node type (e.g. `expr_ty`,
`mod_ty`) has its own enum for `kind` (e.g. `_expr_kind`, `_mod_kind`) and
some don't have a `kind` field at all (e.g. `keyword_ty`). So you'd have to
add an extra field to each node type and initialize that with yet another
enum that can be used to distinguish between node *types*. (There are other
options, but they all sound like a lot of work.)
History
Date User Action Args
2020-09-03 22:38:14gvanrossumsetrecipients: + gvanrossum, blarsen, pablogsal
2020-09-03 22:38:14gvanrossumlinkissue41697 messages
2020-09-03 22:38:14gvanrossumcreate