]> granicus.if.org Git - python/commit
PyMem_Malloc() now uses the fast pymalloc allocator
authorVictor Stinner <victor.stinner@gmail.com>
Fri, 22 Apr 2016 14:26:23 +0000 (16:26 +0200)
committerVictor Stinner <victor.stinner@gmail.com>
Fri, 22 Apr 2016 14:26:23 +0000 (16:26 +0200)
commitf5c4b99034fae12ac2b9498dd12b5b3f352b90c8
tree743fb9af0ea98b29e696aa920d4823d30acf483f
parent5439fc4901dbc7ab0fc0c8d2b2266e05d0019a92
PyMem_Malloc() now uses the fast pymalloc allocator

Issue #26249: PyMem_Malloc() allocator family now uses the pymalloc allocator
rather than system malloc(). Applications calling PyMem_Malloc() without
holding the GIL can now crash: use PYTHONMALLOC=debug environment variable to
validate the usage of memory allocators in your application.
Doc/c-api/memory.rst
Doc/using/cmdline.rst
Doc/whatsnew/3.6.rst
Misc/NEWS
Objects/obmalloc.c