Message384489
The aim is to change the behavior of the symbol table to match the compiler.
The behavior has already changed at module scope.
Python 3.9.0+
>>> x:(yield None)
File "<stdin>", line 1
SyntaxError: 'yield' outside function
>>>
Python 3.10.0a4+
>>> x:(yield None)
>>> |
|
Date |
User |
Action |
Args |
2021-01-06 11:00:10 | Mark.Shannon | set | recipients:
+ Mark.Shannon, larry, serhiy.storchaka |
2021-01-06 11:00:10 | Mark.Shannon | set | messageid: <1609930810.67.0.84701724777.issue42837@roundup.psfhosted.org> |
2021-01-06 11:00:10 | Mark.Shannon | link | issue42837 messages |
2021-01-06 11:00:10 | Mark.Shannon | create | |
|