[Python-checkins] peps: PEP 445: Rename domains: PYMEM_DOMAIN_RAW, PYMEM_DOMAIN_MEM, PYMEM_DOMAIN_OBJ

victor.stinner python-checkins at python.org
Thu Jun 20 23:42:43 CEST 2013


http://hg.python.org/peps/rev/e883b171f3e5
changeset:   4954:e883b171f3e5
user:        Victor Stinner <victor.stinner at gmail.com>
date:        Thu Jun 20 23:42:27 2013 +0200
summary:
  PEP 445: Rename domains: PYMEM_DOMAIN_RAW, PYMEM_DOMAIN_MEM, PYMEM_DOMAIN_OBJ

files:
  pep-0445.txt |  12 ++++++------
  1 files changed, 6 insertions(+), 6 deletions(-)


diff --git a/pep-0445.txt b/pep-0445.txt
--- a/pep-0445.txt
+++ b/pep-0445.txt
@@ -73,14 +73,14 @@
 * Add a new ``PyMemAllocatorDomain`` enum to choose the Python
   allocator domain. Domains:
 
-  - ``PYALLOC_PYMEM_RAW``: ``PyMem_RawMalloc()``, ``PyMem_RawRealloc()``
-    and ``PyMem_RawRealloc()``
+  - ``PYMEM_DOMAIN_RAW``: ``PyMem_RawMalloc()``, ``PyMem_RawRealloc()``
+    and ``PyMem_RawFree()``
 
-  - ``PYALLOC_PYMEM``: ``PyMem_Malloc()``, ``PyMem_Realloc()`` and
-    ``PyMem_Realloc()``
+  - ``PYMEM_DOMAIN_MEM``: ``PyMem_Malloc()``, ``PyMem_Realloc()`` and
+    ``PyMem_Free()``
 
-  - ``PYALLOC_PYOBJECT``: ``PyObject_Malloc()``, ``PyObject_Realloc()``
-    and ``PyObject_Realloc()``
+  - ``PYMEM_DOMAIN_OBJ``: ``PyObject_Malloc()``, ``PyObject_Realloc()``
+    and ``PyObject_Free()``
 
 * Add new functions to get and set memory allocators:
 

-- 
Repository URL: http://hg.python.org/peps


More information about the Python-checkins mailing list