Message370663
| 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 |
|