Skip to content

Commit 99c7e98

Browse files
authored
bpo-40170: Update What's New in Python 3.9 (GH-29470)
The PyType_HasFeature() change has been reverted: the static inline function access directly the PyTypeObject.tp_flags member.
1 parent 24af9a4 commit 99c7e98

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

Doc/whatsnew/3.9.rst

-4
Original file line numberDiff line numberDiff line change
@@ -1378,10 +1378,6 @@ Porting to Python 3.9
13781378
becomes an alias to the :c:func:`PyObject_NewVar` macro. They no longer
13791379
access directly the :c:member:`PyTypeObject.tp_basicsize` member.
13801380

1381-
* :c:func:`PyType_HasFeature` now always calls :c:func:`PyType_GetFlags`.
1382-
Previously, it accessed directly the :c:member:`PyTypeObject.tp_flags`
1383-
member when the limited C API was not used.
1384-
13851381
* :c:func:`PyObject_GET_WEAKREFS_LISTPTR` macro was converted to a function:
13861382
the macro accessed directly the :c:member:`PyTypeObject.tp_weaklistoffset`
13871383
member.

0 commit comments

Comments
 (0)