diff --git a/pep-0445.txt b/pep-0445.txt index b353a277a..30d45d7c7 100644 --- a/pep-0445.txt +++ b/pep-0445.txt @@ -60,15 +60,15 @@ Proposal - ``PyMem_SetupDebugHooks()`` +* ``PyMem_Malloc()`` and ``PyMem_Realloc()`` now always call ``malloc()`` and + ``realloc()``, instead of calling ``PyObject_Malloc()`` and + ``PyObject_Realloc()`` in debug mode + * ``PyObject_Malloc()`` now falls back on ``PyMem_Malloc()`` instead of ``malloc()`` if size is bigger than ``SMALL_REQUEST_THRESHOLD``, and ``PyObject_Realloc()`` falls back on ``PyMem_Realloc()`` instead of ``realloc()`` -* ``PyMem_Malloc()`` and ``PyMem_Realloc()`` now always call ``malloc()`` and - ``realloc()``, instead of calling ``PyObject_Malloc()`` and - ``PyObject_Realloc()`` in debug mode - Performances ============