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 eric.snow
Recipients eric.snow, gvanrossum, vstinner
Date 2022-01-21.23:57:05
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1642809425.25.0.616632655296.issue46449@roundup.psfhosted.org>
In-reply-to
Content
> the deep-frozen objects also reference the small ints directly, as well as the singleton for b"".
> Is this even safe across Py_Finalize()/Py_Initialize()? If not, we'll need to roll that back as well.

The small ints and the empty bytes object each have "immortal" refcounts too (999999999, just like you did in deepfreeze).  So they would cause a similar behavior to what Victor reported.  Otherwise I wouldn't expect any problems across Py_Finalize()/Py_Initialize().
History
Date User Action Args
2022-01-21 23:57:05eric.snowsetrecipients: + eric.snow, gvanrossum, vstinner
2022-01-21 23:57:05eric.snowsetmessageid: <1642809425.25.0.616632655296.issue46449@roundup.psfhosted.org>
2022-01-21 23:57:05eric.snowlinkissue46449 messages
2022-01-21 23:57:05eric.snowcreate