diff options
author | Victor Stinner <vstinner@python.org> | 2021-06-03 16:42:59 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-03 16:42:59 (GMT) |
commit | f3fa63ec75fdbb4a08a10957a5c631bf0c4a5970 (patch) | |
tree | 7e87d8e48debfad12ff2cd79637ca1eb03af6ca0 /Misc/NEWS.d | |
parent | d88b47b5a396aa8d66f9a0e6b13a0825d59d0eff (diff) | |
download | cpython-f3fa63ec75fdbb4a08a10957a5c631bf0c4a5970.zip cpython-f3fa63ec75fdbb4a08a10957a5c631bf0c4a5970.tar.gz cpython-f3fa63ec75fdbb4a08a10957a5c631bf0c4a5970.tar.bz2 |
bpo-39573: Py_TYPE becomes a static inline function (GH-26493)
Convert the Py_TYPE() and Py_SIZE() macros to static inline
functions. The Py_SET_TYPE() and Py_SET_SIZE() functions must now be
used to set an object type and size.
Diffstat (limited to 'Misc/NEWS.d')
-rw-r--r-- | Misc/NEWS.d/next/C API/2021-06-03-00-59-48.bpo-39573.-elHTJ.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/C API/2021-06-03-00-59-48.bpo-39573.-elHTJ.rst b/Misc/NEWS.d/next/C API/2021-06-03-00-59-48.bpo-39573.-elHTJ.rst new file mode 100644 index 0000000..d9641ed --- /dev/null +++ b/Misc/NEWS.d/next/C API/2021-06-03-00-59-48.bpo-39573.-elHTJ.rst @@ -0,0 +1,3 @@ +Convert the :c:func:`Py_TYPE` and :c:func:`Py_SIZE` macros to static inline +functions. The :c:func:`Py_SET_TYPE` and :c:func:`Py_SET_SIZE` functions +must now be used to set an object type and size. Patch by Victor Stinner. |