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 <1622677596.93.0.119850462008.issue39573@roundup.psfhosted.org>
In-reply-to
Content
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: https://github.com/python/cpython/pull/26493

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:
https://mail.python.org/archives/list/python-dev@python.org/thread/KHDZGCNOYEDUTSPAATUDP55ZSSQM5RRC/

I already announced the pythoncapi_compat project on the capi-sig last December:
https://mail.python.org/archives/list/capi-sig@python.org/thread/LFLXFMKMZ77UCDUFD5EQCONSAFFWJWOZ/
History
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: <1622677596.93.0.119850462008.issue39573@roundup.psfhosted.org>
2021-06-02 23:46:36vstinnerlinkissue39573 messages
2021-06-02 23:46:36vstinnercreate