mirror of
https://github.com/python/cpython.git
synced 2026-01-05 23:12:38 +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
|
||
|---|---|---|
| .. | ||
| internal | ||
| abstract.h | ||
| accu.h | ||
| asdl.h | ||
| ast.h | ||
| bitset.h | ||
| bltinmodule.h | ||
| boolobject.h | ||
| bytearrayobject.h | ||
| bytes_methods.h | ||
| bytesobject.h | ||
| cellobject.h | ||
| ceval.h | ||
| classobject.h | ||
| code.h | ||
| codecs.h | ||
| compile.h | ||
| complexobject.h | ||
| datetime.h | ||
| descrobject.h | ||
| dictobject.h | ||
| dtoa.h | ||
| dynamic_annotations.h | ||
| enumobject.h | ||
| errcode.h | ||
| eval.h | ||
| fileobject.h | ||
| fileutils.h | ||
| floatobject.h | ||
| frameobject.h | ||
| funcobject.h | ||
| genobject.h | ||
| graminit.h | ||
| grammar.h | ||
| import.h | ||
| intrcheck.h | ||
| iterobject.h | ||
| listobject.h | ||
| longintrepr.h | ||
| longobject.h | ||
| marshal.h | ||
| memoryobject.h | ||
| metagrammar.h | ||
| methodobject.h | ||
| modsupport.h | ||
| moduleobject.h | ||
| namespaceobject.h | ||
| node.h | ||
| object.h | ||
| objimpl.h | ||
| odictobject.h | ||
| opcode.h | ||
| osdefs.h | ||
| osmodule.h | ||
| parsetok.h | ||
| patchlevel.h | ||
| pgen.h | ||
| pgenheaders.h | ||
| py_curses.h | ||
| pyarena.h | ||
| pyatomic.h | ||
| pycapsule.h | ||
| pyctype.h | ||
| pydebug.h | ||
| pydtrace.d | ||
| pydtrace.h | ||
| pyerrors.h | ||
| pyexpat.h | ||
| pyfpe.h | ||
| pygetopt.h | ||
| pyhash.h | ||
| pylifecycle.h | ||
| pymacconfig.h | ||
| pymacro.h | ||
| pymath.h | ||
| pymem.h | ||
| pyport.h | ||
| pystate.h | ||
| pystrcmp.h | ||
| pystrhex.h | ||
| pystrtod.h | ||
| Python-ast.h | ||
| Python.h | ||
| pythonrun.h | ||
| pythread.h | ||
| pytime.h | ||
| rangeobject.h | ||
| setobject.h | ||
| sliceobject.h | ||
| structmember.h | ||
| structseq.h | ||
| symtable.h | ||
| sysmodule.h | ||
| token.h | ||
| traceback.h | ||
| tupleobject.h | ||
| typeslots.h | ||
| ucnhash.h | ||
| unicodeobject.h | ||
| warnings.h | ||
| weakrefobject.h | ||