Skip to content

Commit d41b799

Browse files
author
Erlend E. Aasland
committed
Add news (DRAFT)
1 parent 2cc4dd1 commit d41b799

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
Fix regressions for extension modules that have been converted to :ref:`heap
2+
types <heap-types>`. Inheritance differs for *static types* and *heap
3+
types*: A *static type* with its :c:member:`~PyTypeObject.tp_new` set to
4+
``NULL`` does not have a public contructor, but *heap types* inherit
5+
contructors from their base classes, resulting in it being possible to
6+
create instances without proper initialisation, possibly resulting in a
7+
crash.

0 commit comments

Comments
 (0)