homepage

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 kumaraditya
Recipients Mark.Shannon, corona10, eric.snow, gvanrossum, kumaraditya, vstinner
Date 2022年01月23日.07:56:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1642924609.85.0.872169433166.issue46476@roundup.psfhosted.org>
In-reply-to
Content
> Would it be possible to enhance deepfreeze be produce a list of all (immortal) code objects?
It is tricky because the deepfreeze modules are generated by the bootstrap interpreter in Linux/MacOS and the downloaded python from nuget interpreter on Windows so when the bootstrap interpreter is built there will be no list of code objects to begin with so it won't work as intended.
But I have an idea : If we can #define Py_DEEPFROZEN_MODULES in the final interpreter but not in the bootstrap one, and then in pylifecycle.c an extern function can free up deep-frozen modules memory if Py_DEEPFROZEN_MODULES which will be defined in deepfreeze.c then it should work.
History
Date User Action Args
2022年01月23日 07:56:49kumaradityasetrecipients: + kumaraditya, gvanrossum, vstinner, Mark.Shannon, eric.snow, corona10
2022年01月23日 07:56:49kumaradityasetmessageid: <1642924609.85.0.872169433166.issue46476@roundup.psfhosted.org>
2022年01月23日 07:56:49kumaradityalinkissue46476 messages
2022年01月23日 07:56:49kumaradityacreate

AltStyle によって変換されたページ (->オリジナル) /