Message380280
In PR 23131, I added a comment to _PyInterpreter_Clear() to remind me that trying to destroy a Python type after the last GC collection doesn't work as expected:
// All Python types must be destroyed before the last GC collection. Python
// types create a reference cycle to themselves in their in their
// PyTypeObject.tp_mro member (the tuple contains the type). |
|
Date |
User |
Action |
Args |
2020-11-03 16:42:45 | vstinner | set | recipients:
+ vstinner, amaury.forgeotdarc, kylotan, christian.heimes, tlesher, phsilva, petr.viktorin, ysj.ray, santoso.wijaya, lukasz.langa, python-dev, eric.snow, pconnell, isoschiz, Jim Fasarakis-Hilliard, corona10, miss-islington, shihai1991, erlendaasland, koubaa |
2020-11-03 16:42:45 | vstinner | set | messageid: <1604421765.48.0.778167860182.issue1635741@roundup.psfhosted.org> |
2020-11-03 16:42:45 | vstinner | link | issue1635741 messages |
2020-11-03 16:42:45 | vstinner | create | |
|