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 xtreak
Recipients arne, emilyemorehouse, gvanrossum, xtreak
Date 2019-09-26.02:57:04
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1569466625.3.0.752060978155.issue38277@roundup.psfhosted.org>
In-reply-to
Content
IIRC there was a debate over allowing top level assignment expression without parentheses in original PEP 572 issue and most of the docs and examples follow using parentheses to avoid this confusion. I just noticed while reading the PEP that list comprehension case is not covered in the exceptional cases section that focused mostly on unparenthesized assignment expressions. If this will not be supported maybe this also could be added to PEP there since PEP serves as reference docs in most cases. The restriction can be lifted in future version if there is a simple way to fix this where this can be reopened.

https://www.python.org/dev/peps/pep-0572/#exceptional-cases
History
Date User Action Args
2019-09-26 02:57:05xtreaksetrecipients: + xtreak, gvanrossum, emilyemorehouse, arne
2019-09-26 02:57:05xtreaksetmessageid: <1569466625.3.0.752060978155.issue38277@roundup.psfhosted.org>
2019-09-26 02:57:05xtreaklinkissue38277 messages
2019-09-26 02:57:04xtreakcreate