• Victor Stinner's avatar
    Issue #3329: Implement the PEP 445 · 0507bf56
    Victor Stinner yazdı
    Add new enum:
    
    * PyMemAllocatorDomain
    
    Add new structures:
    
    * PyMemAllocator
    * PyObjectArenaAllocator
    
    Add new functions:
    
    * PyMem_RawMalloc(), PyMem_RawRealloc(), PyMem_RawFree()
    * PyMem_GetAllocator(), PyMem_SetAllocator()
    * PyObject_GetArenaAllocator(), PyObject_SetArenaAllocator()
    * PyMem_SetupDebugHooks()
    
    Changes:
    
    * PyMem_Malloc()/PyObject_Realloc() now always call malloc()/realloc(), instead
      of calling PyObject_Malloc()/PyObject_Realloc() in debug mode.
    * PyObject_Malloc()/PyObject_Realloc() now falls back to
      PyMem_Malloc()/PyMem_Realloc() for allocations larger than 512 bytes.
    * Redesign debug checks on memory block allocators as hooks, instead of using C
      macros
    0507bf56
Adı
Son kayıt (commit)
Son güncelleme
..
c-api Loading commit data...
data Loading commit data...
distutils Loading commit data...
extending Loading commit data...
faq Loading commit data...
howto Loading commit data...
includes Loading commit data...
install Loading commit data...
library Loading commit data...
reference Loading commit data...
tools Loading commit data...
tutorial Loading commit data...
using Loading commit data...
whatsnew Loading commit data...
Makefile Loading commit data...
README.txt Loading commit data...
about.rst Loading commit data...
bugs.rst Loading commit data...
conf.py Loading commit data...
contents.rst Loading commit data...
copyright.rst Loading commit data...
glossary.rst Loading commit data...
license.rst Loading commit data...
make.bat Loading commit data...