STINNER Victor <vstin...@python.org> added the comment:
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-...@python.org/thread/KHDZGCNOYEDUTSPAATUDP55ZSSQM5RRC/ I already announced the pythoncapi_compat project on the capi-sig last December: https://mail.python.org/archives/list/capi-...@python.org/thread/LFLXFMKMZ77UCDUFD5EQCONSAFFWJWOZ/ ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue39573> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com