Message364507
> 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). |
|
Date |
User |
Action |
Args |
2020-03-18 09:51:01 | BTaskaya | set | recipients:
+ BTaskaya, serhiy.storchaka |
2020-03-18 09:51:01 | BTaskaya | set | messageid: <1584525061.93.0.301762244687.issue39999@roundup.psfhosted.org> |
2020-03-18 09:51:01 | BTaskaya | link | issue39999 messages |
2020-03-18 09:51:01 | BTaskaya | create | |
|