Message365929
Recently many static allocated types were converted to heap allocated types (using PyType_FromSpec). Now you need to add Py_VISIT(Py_TYPE(self)) in all corresponding tp_visit implementations.
And since even official example for heap allocated types do not contain it (and it was not needed before 3.9), I am sure that all existing code do not contain it.
We cannot change all user code, so we should change the interpreter code so that it will work correctly with existing user code. |
|
Date |
User |
Action |
Args |
2020-04-07 17:48:08 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, tim.peters, vstinner, corona10, pablogsal, shihai1991 |
2020-04-07 17:48:08 | serhiy.storchaka | set | messageid: <1586281688.26.0.0176945304853.issue40217@roundup.psfhosted.org> |
2020-04-07 17:48:08 | serhiy.storchaka | link | issue40217 messages |
2020-04-07 17:48:08 | serhiy.storchaka | create | |
|