]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-42747: Remove Py_TPFLAGS_HAVE_AM_SEND and make Py_TPFLAGS_HAVE_VERSION_TAG no...
authorPetr Viktorin <encukou@gmail.com>
Fri, 23 Jul 2021 13:21:11 +0000 (15:21 +0200)
committerGitHub <noreply@github.com>
Fri, 23 Jul 2021 13:21:11 +0000 (06:21 -0700)
commita4760cc32d9e5dac7be262e9736eb30502cd7be3
tree6f791f7d6c0dacea9cdeccd68e0d405109b4bf03
parent7d28a6eb90e2e381e13ba21073c6868fdf6eb058
bpo-42747: Remove Py_TPFLAGS_HAVE_AM_SEND and make Py_TPFLAGS_HAVE_VERSION_TAG no-op (GH-27260)

* Remove code that checks Py_TPFLAGS_HAVE_VERSION_TAG

    The field is always present in the type struct, as explained
    in the added comment.

* Remove Py_TPFLAGS_HAVE_AM_SEND

    The flag is not needed, and since it was added in 3.10 it can be removed now.
Doc/c-api/typeobj.rst
Include/object.h
Misc/NEWS.d/next/C API/2021-07-20-16-21-06.bpo-42747.rRxjUY.rst [new file with mode: 0644]
Modules/_asynciomodule.c
Objects/abstract.c
Objects/genobject.c
Objects/typeobject.c