diff options
author | Victor Stinner <vstinner@python.org> | 2022-01-27 23:39:52 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-27 23:39:52 (GMT) |
commit | 18ea973c21ee4a6adc26be41027881043fa498eb (patch) | |
tree | 4d9f76fd0c776453372d81c83f48a6fc8cfab6ce /Doc | |
parent | 0575551f69ba9c999835bfb176a543d468083c03 (diff) | |
download | cpython-18ea973c21ee4a6adc26be41027881043fa498eb.zip cpython-18ea973c21ee4a6adc26be41027881043fa498eb.tar.gz cpython-18ea973c21ee4a6adc26be41027881043fa498eb.tar.bz2 |
bpo-40170: Remove PyHeapType_GET_MEMBERS() macro (GH-30942)
Remove the PyHeapType_GET_MEMBERS() macro. It was exposed in the
public C API by mistake, it must only be used by Python internally.
Use the PyTypeObject.tp_members member instead.
Rename PyHeapType_GET_MEMBERS() to _PyHeapType_GET_MEMBERS() and move
it to the internal C API.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/whatsnew/3.11.rst | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.11.rst b/Doc/whatsnew/3.11.rst index adf38b6..daa0a2a 100644 --- a/Doc/whatsnew/3.11.rst +++ b/Doc/whatsnew/3.11.rst @@ -929,3 +929,8 @@ Removed worked since the :c:type:`PyWeakReference` structure is opaque in the limited C API. (Contributed by Victor Stinner in :issue:`35134`.) + +* Remove the ``PyHeapType_GET_MEMBERS()`` macro. It was exposed in the + public C API by mistake, it must only be used by Python internally. + Use the ``PyTypeObject.tp_members`` member instead. + (Contributed by Victor Stinner in :issue:`40170`.) |