summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2013-07-07 00:05:46 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2013-07-07 00:05:46 (GMT)
commit0507bf56f0b1064a179464eb3a9d524fd6dad815 (patch)
tree3221e4356dddf25fd2aef3f10f6d07e6e7e26255 /Doc/whatsnew
parentdf715ba54d6a5cad9f59bffe1c2180691a999450 (diff)
downloadcpython-0507bf56f0b1064a179464eb3a9d524fd6dad815.zip
cpython-0507bf56f0b1064a179464eb3a9d524fd6dad815.tar.gz
cpython-0507bf56f0b1064a179464eb3a9d524fd6dad815.tar.bz2
Issue #3329: Implement the PEP 445
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
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r--Doc/whatsnew/3.4.rst18
1 files changed, 4 insertions, 14 deletions
diff --git a/Doc/whatsnew/3.4.rst b/Doc/whatsnew/3.4.rst
index 9073bde..4068947 100644
--- a/Doc/whatsnew/3.4.rst
+++ b/Doc/whatsnew/3.4.rst
@@ -112,21 +112,11 @@ Security improvements:
Please read on for a comprehensive list of user-facing changes.
-.. PEP-sized items next.
-
-.. _pep-4XX:
-
-.. PEP 4XX: Example PEP
-.. ====================
-
-
-.. (Implemented by Foo Bar.)
-
-.. .. seealso::
-
- :pep:`4XX` - Example PEP
- PEP written by Example Author
+PEP 445: Add new APIs to customize Python memory allocators
+===========================================================
+The :pep:`445` adds new Application Programming Interfaces (API) to customize
+Python memory allocators.