Staging
v0.8.1
Revision 6d62dc1ea4e191b8486e80a85ca0694215375424 authored by Victor Stinner on 03 June 2020, 18:16:39 UTC, committed by GitHub on 03 June 2020, 18:16:39 UTC
* bpo-40826: Add _Py_EnsureTstateNotNULL() macro (GH-20571)

Add _Py_EnsureTstateNotNULL(tstate) macro: call Py_FatalError() if
tstate is NULL, the error message contains the current function name.

(cherry picked from commit 3026cad59b87751a9215111776cac8e819458fce)

* bpo-40826: PyOS_InterruptOccurred() requires GIL (GH-20578)

PyOS_InterruptOccurred() now fails with a fatal error if it is called
with the GIL released.

(cherry picked from commit cbe129692293251e7fbcea9ff0d822824d90c140)
1 parent 5d2396c
History
File Mode Size
pegen
pgen
Python.asdl -rw-r--r-- 5.2 KB
acceler.c -rw-r--r-- 3.3 KB
asdl.py -rw-r--r-- 12.7 KB
asdl_c.py -rwxr-xr-x 48.3 KB
grammar1.c -rw-r--r-- 1.0 KB
listnode.c -rw-r--r-- 1.7 KB
myreadline.c -rw-r--r-- 11.9 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.0 KB
token.c -rw-r--r-- 4.5 KB
tokenizer.c -rw-r--r-- 56.8 KB
tokenizer.h -rw-r--r-- 3.8 KB

back to top