summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2020-06-01 18:34:15 (GMT)
committerGitHub <noreply@github.com>2020-06-01 18:34:15 (GMT)
commitcbe129692293251e7fbcea9ff0d822824d90c140 (patch)
tree36bb8545bcfc649f995812f89e65a9be3ebe9a95 /Misc
parent39de8e4b6f139f8d8284732bd7bb6e5ccced29fa (diff)
downloadcpython-cbe129692293251e7fbcea9ff0d822824d90c140.zip
cpython-cbe129692293251e7fbcea9ff0d822824d90c140.tar.gz
cpython-cbe129692293251e7fbcea9ff0d822824d90c140.tar.bz2
bpo-40826: PyOS_InterruptOccurred() requires GIL (GH-20578)
PyOS_InterruptOccurred() now fails with a fatal error if it is called with the GIL released.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/C API/2020-06-01-16-12-37.bpo-40826.zQzFoK.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/C API/2020-06-01-16-12-37.bpo-40826.zQzFoK.rst b/Misc/NEWS.d/next/C API/2020-06-01-16-12-37.bpo-40826.zQzFoK.rst
new file mode 100644
index 0000000..0d7a36c
--- /dev/null
+++ b/Misc/NEWS.d/next/C API/2020-06-01-16-12-37.bpo-40826.zQzFoK.rst
@@ -0,0 +1,2 @@
+:c:func:`PyOS_InterruptOccurred` now fails with a fatal error if it is
+called with the GIL released.