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 Mark.Shannon
Recipients Mark.Shannon, larry, serhiy.storchaka
Date 2021-01-06.11:00:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1609930810.67.0.84701724777.issue42837@roundup.psfhosted.org>
In-reply-to
Content
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)
>>>
History
Date User Action Args
2021-01-06 11:00:10Mark.Shannonsetrecipients: + Mark.Shannon, larry, serhiy.storchaka
2021-01-06 11:00:10Mark.Shannonsetmessageid: <1609930810.67.0.84701724777.issue42837@roundup.psfhosted.org>
2021-01-06 11:00:10Mark.Shannonlinkissue42837 messages
2021-01-06 11:00:10Mark.Shannoncreate