summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeil Schemenauer <nascheme@enme.ucalgary.ca>2002-03-22 17:06:59 (GMT)
committerNeil Schemenauer <nascheme@enme.ucalgary.ca>2002-03-22 17:06:59 (GMT)
commit9d50d138e704489026e26f2b335a3d7b1054a3e8 (patch)
tree3aa66ef11b806858d430cc187dc3183fc093facf
parent1b0e4fcc2915ea72f23ccdf50320811f36ae187c (diff)
downloadcpython-9d50d138e704489026e26f2b335a3d7b1054a3e8.zip
cpython-9d50d138e704489026e26f2b335a3d7b1054a3e8.tar.gz
cpython-9d50d138e704489026e26f2b335a3d7b1054a3e8.tar.bz2
Add news about pymalloc being enabled.
-rw-r--r--Misc/NEWS9
1 files changed, 9 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 4373f1a..7dc65dc 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -6,6 +6,8 @@ Type/class unification and new-style classes
Core and builtins
+- The optional object allocator has been enabled by default.
+
- If you try to pickle an instance of a class that has __slots__ but
doesn't define or override __getstate__, a TypeError is now raised.
This is done by adding a bozo __getstate__ to the class that always
@@ -78,6 +80,13 @@ Build
C API
+- Objects allocated using the new PyMalloc_New and PyMalloc_NewVar
+ functions will be allocated using pymalloc if it is enabled. These
+ objects should be deallocated using PyMalloc_Del. The PyObject_{New,
+ NewVar,NEW_VAR,Del,DEL} APIs have been changed to always use
+ PyMem_MALLOC and PyMem_FREE, even if pymalloc is enabled. The
+ PyCore_* family of APIs have been removed.
+
- The "u#" parser marker will now pass through Unicode object as-is
without going through the buffer API.