A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2018-April/153118.html below:

[Python-Dev] The new and improved PEP 572, same great taste with 75% less complexity!

[Python-Dev] The new and improved PEP 572, same great taste with 75% less complexity! [Python-Dev] The new and improved PEP 572, same great taste with 75% less complexity!Nick Coghlan ncoghlan at gmail.com
Thu Apr 26 09:57:58 EDT 2018
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
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4