[Python-checkins] CVS: python/dist/src/Misc NEWS,1.366,1.367
Neil Schemenauer
nascheme@users.sourceforge.net
Fri, 22 Mar 2002 09:07:02 -0800
Update of /cvsroot/python/python/dist/src/Misc
In directory usw-pr-cvs1:/tmp/cvs-serv14041/Misc
Modified Files:
NEWS
Log Message:
Add news about pymalloc being enabled.
Index: NEWS
===================================================================
RCS file: /cvsroot/python/python/dist/src/Misc/NEWS,v
retrieving revision 1.366
retrieving revision 1.367
diff -C2 -d -r1.366 -r1.367
*** NEWS 21 Mar 2002 10:38:40 -0000 1.366
--- NEWS 22 Mar 2002 17:06:59 -0000 1.367
***************
*** 7,10 ****
--- 7,12 ----
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.
***************
*** 78,81 ****
--- 80,90 ----
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