Message306145
PR 4382 doesn't change the grammar, it changes only checks in the CST to AST transformer. Maybe it would be better to change the grammar. Currently it doesn't match the language specification and allows the following constructions:
@deco(x for x in [1])
def f(): ...
class C(x for x in [1]): ...
And I think the part of issue27494 should be reverted. |
|
Date |
User |
Action |
Args |
2017-11-13 07:35:39 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, brett.cannon, ncoghlan, benjamin.peterson, yselivanov |
2017-11-13 07:35:39 | serhiy.storchaka | set | messageid: <1510558539.13.0.213398074469.issue32012@psf.upfronthosting.co.za> |
2017-11-13 07:35:39 | serhiy.storchaka | link | issue32012 messages |
2017-11-13 07:35:38 | serhiy.storchaka | create | |
|