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-24.13:46:06
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1643031967.02.0.726845909773.issue46476@roundup.psfhosted.org>
In-reply-to
Content
> Aha. Maybe for now, the memory of immortal code objects can be deallocated in pymain_free(). It's the last function called before Python exit the process.

It seems like a viable option for now to only clear them when python is not embedded and in pymain_free.
History
Date User Action Args
2022-01-24 13:46:07kumaradityasetrecipients: + kumaraditya, gvanrossum, vstinner, Mark.Shannon, eric.snow, corona10
2022-01-24 13:46:07kumaradityasetmessageid: <1643031967.02.0.726845909773.issue46476@roundup.psfhosted.org>
2022-01-24 13:46:07kumaradityalinkissue46476 messages
2022-01-24 13:46:06kumaradityacreate