mirror of
https://github.com/python/cpython.git
synced 2025-11-01 18:51:43 +00:00
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.
This commit is contained in:
parent
24af9a40a8
commit
99c7e9853f
1 changed files with 0 additions and 4 deletions
|
|
@ -1378,10 +1378,6 @@ Porting to Python 3.9
|
|||
becomes an alias to the :c:func:`PyObject_NewVar` macro. They no longer
|
||||
access directly the :c:member:`PyTypeObject.tp_basicsize` member.
|
||||
|
||||
* :c:func:`PyType_HasFeature` now always calls :c:func:`PyType_GetFlags`.
|
||||
Previously, it accessed directly the :c:member:`PyTypeObject.tp_flags`
|
||||
member when the limited C API was not used.
|
||||
|
||||
* :c:func:`PyObject_GET_WEAKREFS_LISTPTR` macro was converted to a function:
|
||||
the macro accessed directly the :c:member:`PyTypeObject.tp_weaklistoffset`
|
||||
member.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue