mirror of
https://github.com/python/cpython.git
synced 2025-12-23 09:19:18 +00:00
* Fix _PyMem_SetupAllocators("debug"): always restore allocators to
the defaults, rather than only caling _PyMem_SetupDebugHooks().
* Add _PyMem_SetDefaultAllocator() helper to set the "default"
allocator.
* Add _PyMem_GetAllocatorsName(): get the name of the allocators
* main() now uses debug hooks on memory allocators if Py_DEBUG is
defined, rather than calling directly malloc()
* Document default memory allocators in C API documentation
* _Py_InitializeCore() now fails with a fatal user error if
PYTHONMALLOC value is an unknown memory allocator, instead of
failing with a fatal internal error.
* Add new tests on the PYTHONMALLOC environment variable
* Add support.with_pymalloc()
* Add the _testcapi.WITH_PYMALLOC constant and expose it as
support.with_pymalloc().
* sysconfig.get_config_var('WITH_PYMALLOC') doesn't work on Windows, so
replace it with support.with_pymalloc().
* pythoninfo: add _testcapi collector for pymem
|
||
|---|---|---|
| .. | ||
| 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 | ||
| coro.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 | ||