mirror of https://github.com/python/cpython
0507bf56f0
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 |
||
---|---|---|
.. | ||
abstract.rst | ||
allocation.rst | ||
apiabiversion.rst | ||
arg.rst | ||
bool.rst | ||
buffer.rst | ||
bytearray.rst | ||
bytes.rst | ||
capsule.rst | ||
cell.rst | ||
code.rst | ||
codec.rst | ||
complex.rst | ||
concrete.rst | ||
conversion.rst | ||
datetime.rst | ||
descriptor.rst | ||
dict.rst | ||
exceptions.rst | ||
file.rst | ||
float.rst | ||
function.rst | ||
gcsupport.rst | ||
gen.rst | ||
import.rst | ||
index.rst | ||
init.rst | ||
intro.rst | ||
iter.rst | ||
iterator.rst | ||
list.rst | ||
long.rst | ||
mapping.rst | ||
marshal.rst | ||
memory.rst | ||
memoryview.rst | ||
method.rst | ||
module.rst | ||
none.rst | ||
number.rst | ||
objbuffer.rst | ||
object.rst | ||
objimpl.rst | ||
refcounting.rst | ||
reflection.rst | ||
sequence.rst | ||
set.rst | ||
slice.rst | ||
stable.rst | ||
structures.rst | ||
sys.rst | ||
tuple.rst | ||
type.rst | ||
typeobj.rst | ||
unicode.rst | ||
utilities.rst | ||
veryhigh.rst | ||
weakref.rst |