]> 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...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 23 Jul 2021 14:56:53 +0000 (07:56 -0700)
committerGitHub <noreply@github.com>
Fri, 23 Jul 2021 14:56:53 +0000 (16:56 +0200)
commit632e8a69593efb12ec58d90e624ddf249a7a1b65
tree739d6918692a728fa791c61586b3d9f6bcc668f1
parentc589992e09d0db7cb47d21d5948929e599fdbb94
bpo-42747: Remove Py_TPFLAGS_HAVE_AM_SEND and make Py_TPFLAGS_HAVE_VERSION_TAG no-op (GH-27260) (GH-27306)

* 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.
(cherry picked from commit a4760cc32d9e5dac7be262e9736eb30502cd7be3)

Co-authored-by: Petr Viktorin <encukou@gmail.com>
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