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 gvanrossum
Recipients Mark.Shannon, corona10, eric.snow, gvanrossum, kumaraditya, vstinner
Date 2022-01-23.21:56:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1642975003.02.0.123290134755.issue46476@roundup.psfhosted.org>
In-reply-to
Content
> With the current design, it isn't possible though because the code objects are modified in place so if co_quickened is freed the VM still tries to execute the copied instructions.

Or the cleanup code could also restore co_firstinstr and other things that are set by quickened (the co_quickened flag and what else?).

Kumar, I'm not sure I follow your concerns about the bootstrap working differently on Windows than on Unix. Is the problem that on Unix the bootstrap interpreter is linked without deepfreeze.c so there is no definition of the symbol _Py_Deepfreeze_Fini? In that case, you can probably just add a dummy one to _bootstrap_python.c.
History
Date User Action Args
2022-01-23 21:56:43gvanrossumsetrecipients: + gvanrossum, vstinner, Mark.Shannon, eric.snow, corona10, kumaraditya
2022-01-23 21:56:43gvanrossumsetmessageid: <1642975003.02.0.123290134755.issue46476@roundup.psfhosted.org>
2022-01-23 21:56:43gvanrossumlinkissue46476 messages
2022-01-23 21:56:42gvanrossumcreate