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 BTaskaya
Recipients BTaskaya, serhiy.storchaka
Date 2020-03-18.09:51:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1584525061.93.0.301762244687.issue39999@roundup.psfhosted.org>
In-reply-to
Content
> 1. Re-add removed classes Suite, Param, AugLoad and AugStore. They are not used in Python 3, are not created by the parser and are not accepted by the compiler. Param was used in 2.7, other classes were not used longer time. But some third-party projects (e.g. pyflakes) use them for isinstance checks.

I dont think Suite used in anywhere related to CPython, and for others (Param and AugXXXX contexts, which both used in pyflakes) I dont think it is necessary to have them. For most of the part they can just do this

if not PY27:
     class Param(ast.expr_context): pass

and looks like pyflakes already have a PR about this (not this way, but it is common to have version-specific conditions in AST tools).
History
Date User Action Args
2020-03-18 09:51:01BTaskayasetrecipients: + BTaskaya, serhiy.storchaka
2020-03-18 09:51:01BTaskayasetmessageid: <1584525061.93.0.301762244687.issue39999@roundup.psfhosted.org>
2020-03-18 09:51:01BTaskayalinkissue39999 messages
2020-03-18 09:51:01BTaskayacreate