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 brett.cannon, nemeskeyd, rhettinger
Date 2017-05-26.02:29:57
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1495765798.31.0.0191755436572.issue30471@psf.upfronthosting.co.za>
In-reply-to
Content
As Brett says, the place to propose this is on python-ideas.  

I'm going to mark it here as closed/rejected because it will likely have to go through a lengthy process (possibly including a PEP) before having a chance of being accepted.  Please don't take this as discouragement.  It is just that the tracker is the wrong forum for the conversation to start.

On the plus side, the idea does seem like a nice convenience.  On the minus side, we really like that inconveniences serve as a nudge to not put too much inside a list comprehension and use a regular for-loop instead.  Also, Guido in the past has resisted similar suggestions for making assignments inside a while-loop conditional expression ("while (f.read(10) as block) != '': ...).
History
Date User Action Args
2017-05-26 02:29:58rhettingersetrecipients: + rhettinger, brett.cannon, nemeskeyd
2017-05-26 02:29:58rhettingersetmessageid: <1495765798.31.0.0191755436572.issue30471@psf.upfronthosting.co.za>
2017-05-26 02:29:58rhettingerlinkissue30471 messages
2017-05-26 02:29:57rhettingercreate