Staging
v0.5.1
https://github.com/python/cpython
Revision 927f07c816aad9f8ed961d7ace6a367837f7fa8f authored by Miss Islington (bot) on 14 October 2019, 11:40:15 UTC, committed by Łukasz Langa on 14 October 2019, 11:40:15 UTC
The symbol table handing of PEP572's assignment expressions is not resolving correctly the scope of some variables in presence of global/nonlocal keywords in conjunction with comprehensions.
(cherry picked from commit fd5c414880b2e05720b9cf14ab0b0d7ae2b7d925)

Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
1 parent ac53ba6
History
Tip revision: 927f07c816aad9f8ed961d7ace6a367837f7fa8f authored by Miss Islington (bot) on 14 October 2019, 11:40:15 UTC
bpo-38469: Handle named expression scope with global/nonlocal keywords (GH-16755) (#16760)
Tip revision: 927f07c
File Mode Size
pgen
Python.asdl -rw-r--r-- 5.3 KB
acceler.c -rw-r--r-- 3.3 KB
asdl.py -rw-r--r-- 12.6 KB
asdl_c.py -rw-r--r-- 43.5 KB
grammar1.c -rw-r--r-- 1.0 KB
listnode.c -rw-r--r-- 1.2 KB
myreadline.c -rw-r--r-- 10.6 KB
node.c -rw-r--r-- 5.1 KB
parser.c -rw-r--r-- 12.4 KB
parser.h -rw-r--r-- 1.4 KB
parsetok.c -rw-r--r-- 14.2 KB
token.c -rw-r--r-- 4.5 KB
tokenizer.c -rw-r--r-- 54.7 KB
tokenizer.h -rw-r--r-- 3.7 KB

back to top