summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2016-03-16 11:12:53 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2016-03-16 11:12:53 (GMT)
commitad524375af042a549d28ec252f3071a595b892b2 (patch)
tree8d2a755845089be4a06d2c7c185d242ff379907f /Misc
parent013024ef67b7e5989e4be03f4ff2be22aa753ae0 (diff)
downloadcpython-ad524375af042a549d28ec252f3071a595b892b2.zip
cpython-ad524375af042a549d28ec252f3071a595b892b2.tar.gz
cpython-ad524375af042a549d28ec252f3071a595b892b2.tar.bz2
Fail if PyMem_Malloc() is called without holding the GIL
Issue #26563: Debug hooks on Python memory allocators now raise a fatal error if functions of the PyMem_Malloc() family are called without holding the GIL.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 7f93b2b..adfa04b 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -10,6 +10,10 @@ Release date: tba
Core and Builtins
-----------------
+- Issue #26563: Debug hooks on Python memory allocators now raise a fatal
+ error if functions of the :c:func:`PyMem_Malloc` family are called without
+ holding the GIL.
+
- Issue #26564: On error, the debug hooks on Python memory allocators now use
the :mod:`tracemalloc` module to get the traceback where a memory block was
allocated.