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 rhettinger
Recipients benjamin.peterson, brett.cannon, ncoghlan, rhettinger, scoder, serhiy.storchaka, steven.daprano, yselivanov
Date 2019-10-16.00:53:33
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
> I just discovered that the assignment operator leaks variables
> out of comprehensions.
> ...
> So it does not supersedes this optimization.

That's a real bummer.  IIRC, it was discussion of this proposal that motivated the creation of the walrus operator.
Date User Action Args
2019-10-16 00:53:33rhettingersetrecipients: + rhettinger, brett.cannon, ncoghlan, scoder, benjamin.peterson, steven.daprano, serhiy.storchaka, yselivanov
2019-10-16 00:53:33rhettingersetmessageid: <>
2019-10-16 00:53:33rhettingerlinkissue32856 messages
2019-10-16 00:53:33rhettingercreate