This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author petr.viktorin
Recipients asvetlov, iritkatriel, martmists, miss-islington, petr.viktorin, v2m, yselivanov
Date 2021-07-20.14:09:32
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Py_TPFLAGS_HAVE_AM_SEND is unnecessary and I'd like to remove it.

It is not possible for type objects to have a different layout than the interpreter:
- extensions using the regular ABI must be recompiled for each feature version of Python
- extensions using the stable ABI can only create types dynamically

Or is there a different reason for Py_TPFLAGS_HAVE_AM_SEND? Checking it may be faster than ((Py_TYPE(x)->tp_as_async != NULL) && (Py_TYPE(x)->tp_as_async->am_send != NULL)), but I don't think the speedup is relevant.

See bpo-42747
Date User Action Args
2021-07-20 14:09:33petr.viktorinsetrecipients: + petr.viktorin, asvetlov, yselivanov, miss-islington, v2m, iritkatriel, martmists
2021-07-20 14:09:33petr.viktorinsetmessageid: <>
2021-07-20 14:09:32petr.viktorinlinkissue42085 messages
2021-07-20 14:09:32petr.viktorincreate