diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2021-11-08 17:05:15 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-08 17:05:15 (GMT) |
commit | 69b3de65adc691cc5ad66e70e5c7caf61c202c79 (patch) | |
tree | f7c1c58a09f54d3a64602882ebf4818e94fd197c /Doc/whatsnew | |
parent | 77afb76942ea7067d74d9c07fb4da6f5f23ad2f5 (diff) | |
download | cpython-69b3de65adc691cc5ad66e70e5c7caf61c202c79.zip cpython-69b3de65adc691cc5ad66e70e5c7caf61c202c79.tar.gz cpython-69b3de65adc691cc5ad66e70e5c7caf61c202c79.tar.bz2 |
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.
(cherry picked from commit 99c7e9853fa13af414168f179213e3d2fae03a45)
Co-authored-by: Victor Stinner <vstinner@python.org>
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r-- | Doc/whatsnew/3.9.rst | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/Doc/whatsnew/3.9.rst b/Doc/whatsnew/3.9.rst index f1725e7..296c64d 100644 --- a/Doc/whatsnew/3.9.rst +++ b/Doc/whatsnew/3.9.rst @@ -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. |