Staging
v0.5.1
https://github.com/python/cpython
Revision 384c6d72d9a12764282ccc2d3935232a34a7cfbe authored by Miss Islington (bot) on 29 August 2019, 13:46:20 UTC, committed by GitHub on 29 August 2019, 13:46:20 UTC

With `symtable_visit_expr` now correctly adjusting the recursion depth for named
expressions, `symtable_handle_namedexpr` should be leaving it alone.

Also adds a new check to `PySymtable_BuildObject` that raises `SystemError`
if a successful first symbol analysis pass fails to keep the stack depth
accounting clean.
(cherry picked from commit 06145230c833c3db5dab8858e11bcd550a37c57f)

Co-authored-by: Nick Coghlan <ncoghlan@gmail.com>
1 parent c71ae1a
History
Tip revision: 384c6d72d9a12764282ccc2d3935232a34a7cfbe authored by Miss Islington (bot) on 29 August 2019, 13:46:20 UTC
bpo-37947: Avoid double-decrement in symtable recursion counting (GH-15593)
Tip revision: 384c6d7
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