summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2016-03-14 21:26:53 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2016-03-14 21:26:53 (GMT)
commitc4aec3628b6effcf205d70ce7d80f69847954b66 (patch)
tree4de61828675acb7bb697f2607672b4de7c23c0f6 /Misc
parent8a1be61849341528c866924cf69d378ce7790889 (diff)
downloadcpython-c4aec3628b6effcf205d70ce7d80f69847954b66.zip
cpython-c4aec3628b6effcf205d70ce7d80f69847954b66.tar.gz
cpython-c4aec3628b6effcf205d70ce7d80f69847954b66.tar.bz2
Check the GIL in PyObject_Malloc()
Issue #26558: The debug hook of PyObject_Malloc() now checks that the GIL is held when the function is called.
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 852be06..5233a43 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -10,6 +10,10 @@ Release date: tba
Core and Builtins
-----------------
+- Issue #26558: The debug hooks on Python memory allocator
+ :c:func:`PyObject_Malloc` now detect when functions are called without
+ holding the GIL.
+
- Issue #26516: Add :envvar`PYTHONMALLOC` environment variable to set the
Python memory allocators and/or install debug hooks.