Message413855
I tried to hack _PyStaticCode_Dealloc() to free strings, but since immortal objects are half-baken today, calling Py_DECREF() does crash.
Py_SETREF() should increase _Py_RefTotal if the old object is immortal and he new object is not.
Maybe this change should be reverted until Eric's PEP 683 "Immortal Objects, Using a Fixed Refcount" is implemented. |
|
Date |
User |
Action |
Args |
2022-02-23 20:33:02 | vstinner | set | recipients:
+ vstinner, gvanrossum, christian.heimes, miss-islington, sobolevn, kumaraditya |
2022-02-23 20:33:02 | vstinner | set | messageid: <1645648382.61.0.882189137185.issue46430@roundup.psfhosted.org> |
2022-02-23 20:33:02 | vstinner | link | issue46430 messages |
2022-02-23 20:33:02 | vstinner | create | |
|