Message411868
| Author |
vstinner |
| Recipients |
christian.heimes, eric.snow, gvanrossum, kumaraditya, vstinner |
| Date |
2022年01月27日.13:15:54 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1643289354.94.0.134425435804.issue46449@roundup.psfhosted.org> |
| In-reply-to |
| Content |
The bpo-46476 added _Py_Deepfreeze_Fini() and _PyStaticCode_Dealloc() functions: commit c7f810b34d91a5c2fbe0a8385562015d2dd961f2. If we need to ajust _Py_RefTotal manually, *maybe* it can be done there?
I don't understand well how static/immortal code object lead to negative _Py_RefTotal. For me, Py_INCREF() and Py_DECREF() should still be used on these objects, no? |
|