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 ZackerySpytz, corona10, nascheme, petdance, ronaldoussoren, serhiy.storchaka, shihai1991, steve.dower, vstinner
Date 2020-06-03.12:43:04
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1591188184.24.0.470385637622.issue39573@roundup.psfhosted.org>
In-reply-to
Content
To port code to Python 3.10, the following macro can be copied/pasted in your code. It defines Py_SET_SIZE() if it's not defined.

#if PY_VERSION_HEX < 0x030900A4
#  define Py_SET_SIZE(obj, size) do { Py_SIZE(obj) = (size); } while (0)
#endif
History
Date User Action Args
2020-06-03 12:43:04vstinnersetrecipients: + vstinner, nascheme, ronaldoussoren, serhiy.storchaka, steve.dower, corona10, ZackerySpytz, shihai1991, petdance
2020-06-03 12:43:04vstinnersetmessageid: <1591188184.24.0.470385637622.issue39573@roundup.psfhosted.org>
2020-06-03 12:43:04vstinnerlinkissue39573 messages
2020-06-03 12:43:04vstinnercreate