This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

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?
History
Date User Action Args
2022-01-27 13:15:54vstinnersetrecipients: + vstinner, gvanrossum, christian.heimes, eric.snow, kumaraditya
2022-01-27 13:15:54vstinnersetmessageid: <1643289354.94.0.134425435804.issue46449@roundup.psfhosted.org>
2022-01-27 13:15:54vstinnerlinkissue46449 messages
2022-01-27 13:15:54vstinnercreate