]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-42500: Fix recursion in or after except (GH-23568)
authorMark Shannon <mark@hotpy.org>
Wed, 2 Dec 2020 13:30:55 +0000 (13:30 +0000)
committerGitHub <noreply@github.com>
Wed, 2 Dec 2020 13:30:55 +0000 (13:30 +0000)
commit4e7a69bdb63a104587759d7784124492dcdd496e
tree5477c7077970d9100d089286b75ce2ff408ac613
parent93a0ef76473683aa3ad215e11df18f7839488c4e
bpo-42500: Fix recursion in or after except (GH-23568)

* Use counter, rather boolean state when handling soft overflows.
Include/cpython/pystate.h
Include/internal/pycore_ceval.h
Lib/test/test_exceptions.py
Lib/test/test_sys.py
Misc/NEWS.d/next/Core and Builtins/2020-11-30-14-27-29.bpo-42500.excVKU.rst [new file with mode: 0644]
Python/ceval.c
Python/errors.c
Python/pystate.c
Python/sysmodule.c