Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit fe0ca4a

Browse files
committed
Mention pymemcompat.h.
1 parent f925782 commit fe0ca4a

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

Misc/NEWS

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,12 @@ Core and builtins
9999
access to the current frame during destruction of a local variable
100100
could access a pointer to freed memory.
101101

102-
- The optional object allocator has been enabled by default.
102+
- The optional object allocator ("pymalloc") has been enabled by
103+
default. The recommended practice for memory allocation and
104+
deallocation has been streamlined. A header file is included,
105+
Misc/pymemcompat.h, which can be bundled with 3rd party extensions
106+
and lets them use the same API with Python versions from 1.5.2
107+
onwards.
103108

104109
- If you try to pickle an instance of a class that has __slots__ but
105110
doesn't define or override __getstate__, a TypeError is now raised.

0 commit comments

Comments
 (0)