mirror of
https://github.com/python/cpython.git
synced 2026-04-21 19:31:17 +00:00
* bpo-36389: _PyObject_IsFreed() now also detects uninitialized memory (GH-12770) Replace _PyMem_IsFreed() function with _PyMem_IsPtrFreed() inline function. The function is now way more efficient, it became a simple comparison on integers, rather than a short loop. It detects also uninitialized bytes and "forbidden bytes" filled by debug hooks on memory allocators. Add unit tests on _PyObject_IsFreed(). (cherry picked from commit |
||
|---|---|---|
| .. | ||
| ceval.h | ||
| condvar.h | ||
| context.h | ||
| gil.h | ||
| hamt.h | ||
| hash.h | ||
| import.h | ||
| mem.h | ||
| pygetopt.h | ||
| pystate.h | ||
| warnings.h | ||