summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2002-06-18 21:20:13 (GMT)
committerGuido van Rossum <guido@python.org>2002-06-18 21:20:13 (GMT)
commitfe0ca4a0f50ca90359d3c619fad98bbe018ca7d2 (patch)
tree03f4a6423f45c31f1cca2626dcbdae7b9d2a37c0 /Misc
parentf925782dae6f58c9474ed23f25cc5e33682696a0 (diff)
downloadcpython-fe0ca4a0f50ca90359d3c619fad98bbe018ca7d2.zip
cpython-fe0ca4a0f50ca90359d3c619fad98bbe018ca7d2.tar.gz
cpython-fe0ca4a0f50ca90359d3c619fad98bbe018ca7d2.tar.bz2
Mention pymemcompat.h.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS7
1 files changed, 6 insertions, 1 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 486c562..7171c9c 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -99,7 +99,12 @@ Core and builtins
access to the current frame during destruction of a local variable
could access a pointer to freed memory.
-- The optional object allocator has been enabled by default.
+- The optional object allocator ("pymalloc") has been enabled by
+ default. The recommended practice for memory allocation and
+ deallocation has been streamlined. A header file is included,
+ Misc/pymemcompat.h, which can be bundled with 3rd party extensions
+ and lets them use the same API with Python versions from 1.5.2
+ onwards.
- 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.