[Python-Dev] The new and improved PEP 572, same great taste with 75% less complexity! (original) (raw)
Nick Coghlan ncoghlan at gmail.com
Thu Apr 26 09:57:58 EDT 2018
- Previous message (by thread): [Python-Dev] The new and improved PEP 572, same great taste with 75% less complexity!
- Next message (by thread): [Python-Dev] The new and improved PEP 572, same great taste with 75% less complexity!
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 25 April 2018 at 18:23, Chris Angelico <rosuav at gmail.com> wrote:
x={print(2): print(1) for in [1]} 1 2 Hmmmmmmmmm. One of these is not like the others...
Huh, it looks like we missed checking dict comprehensions when we fixed dict displays to evaluate keys before the corresponding values. That would qualify as a reasonable request for improvement in Python 3.8 :)
Cheers, Nick.
-- Nick Coghlan | ncoghlan at gmail.com | Brisbane, Australia
- Previous message (by thread): [Python-Dev] The new and improved PEP 572, same great taste with 75% less complexity!
- Next message (by thread): [Python-Dev] The new and improved PEP 572, same great taste with 75% less complexity!
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]