]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-40170: Remove PyHeapType_GET_MEMBERS() macro (GH-30942)
authorVictor Stinner <vstinner@python.org>
Thu, 27 Jan 2022 23:39:52 +0000 (00:39 +0100)
committerGitHub <noreply@github.com>
Thu, 27 Jan 2022 23:39:52 +0000 (00:39 +0100)
commit18ea973c21ee4a6adc26be41027881043fa498eb
tree4d9f76fd0c776453372d81c83f48a6fc8cfab6ce
parent0575551f69ba9c999835bfb176a543d468083c03
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.
Doc/whatsnew/3.11.rst
Include/cpython/object.h
Include/internal/pycore_object.h
Misc/NEWS.d/next/C API/2022-01-27-02-51-22.bpo-40170.uPolek.rst [new file with mode: 0644]
Objects/typeobject.c