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 vstinner
Recipients WildCard65, ZackerySpytz, corona10, hroncok, nascheme, ronaldoussoren, serhiy.storchaka, shihai1991, steve.dower, vstinner
Date 2021-06-02.23:46:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Most projects broken by Py_TYPE and Py_SIZE changes have been fixed since last year. I succeeded to use my new pythoncapi_compat project on multiple C extensions. So I propose again to convert Py_TYPE and Py_SIZE macros to static inline functions:

I also proposed to promote the pythoncapi_compat project in the "C API: Porting to Python 3.10" section of "What's New In Python 3.10?" on python-dev:

I already announced the pythoncapi_compat project on the capi-sig last December:
Date User Action Args
2021-06-02 23:46:36vstinnersetrecipients: + vstinner, nascheme, ronaldoussoren, serhiy.storchaka, steve.dower, hroncok, corona10, ZackerySpytz, WildCard65, shihai1991
2021-06-02 23:46:36vstinnersetmessageid: <>
2021-06-02 23:46:36vstinnerlinkissue39573 messages
2021-06-02 23:46:36vstinnercreate