]> granicus.if.org Git - python/commit
bpo-35224: Reverse evaluation order of key: value in dict comprehensions (GH-14139)
authorJörn Heissler <joernheissler@users.noreply.github.com>
Sat, 22 Jun 2019 14:40:55 +0000 (16:40 +0200)
committerMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 22 Jun 2019 14:40:55 +0000 (07:40 -0700)
commitc8a35417db8853a253517a3e5190e174075c6384
tree760e1a6590e7244315d4c8ac35acc8a0a6f6b736
parentbb110cc2ed81447fb48805f31146cf31323a8fc3
bpo-35224: Reverse evaluation order of key: value in dict comprehensions (GH-14139)

… as proposed in PEP 572; key is now evaluated before value.

https://bugs.python.org/issue35224
Doc/library/dis.rst
Doc/reference/expressions.rst
Lib/test/test_dictcomps.py
Lib/test/test_named_expressions.py
Lib/test/test_parser.py
Misc/NEWS.d/next/Core and Builtins/2019-06-17-06-03-55.bpo-35224.FHWPGv.rst [new file with mode: 0644]
Python/ceval.c
Python/compile.c