From: Guido van Rossum Date: Tue, 18 Jun 2002 21:20:13 +0000 (+0000) Subject: Mention pymemcompat.h. X-Git-Tag: v2.3c1~5266 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fe0ca4a0f50ca90359d3c619fad98bbe018ca7d2;p=python Mention pymemcompat.h. --- diff --git a/Misc/NEWS b/Misc/NEWS index 486c562ef4..7171c9c35d 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.