diff options
| author | Nick Coghlan <ncoghlan@gmail.com> | 2019-08-29 13:26:53 (GMT) |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-08-29 13:26:53 (GMT) |
| commit | 06145230c833c3db5dab8858e11bcd550a37c57f (patch) | |
| tree | d5b2743b4279402eb1f7a181ee911549d9172953 /Python/clinic/marshal.c.h | |
| parent | 2c5fb1711818926862d0d7b2e5effcaa5a5eb002 (diff) | |
| download | cpython-06145230c833c3db5dab8858e11bcd550a37c57f.zip cpython-06145230c833c3db5dab8858e11bcd550a37c57f.tar.gz cpython-06145230c833c3db5dab8858e11bcd550a37c57f.tar.bz2 | |
bpo-37947: Avoid double-decrement in symtable recursion counting (GH-15593)
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.
Diffstat (limited to 'Python/clinic/marshal.c.h')
0 files changed, 0 insertions, 0 deletions
