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 pablogsal
Recipients Eric Cousineau, pablogsal, pitrou, vstinner
Date 2020-04-09.16:23:46
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
There is a specific Python function in 3.9 for it:

So it may sense to add a function to query if an object is finalized, but I am not sure it makes sense to allow to mark an object as finalized because that could mess with the GC algorithm.

Certainly exposing the macros per se may be a bad idea because there are too many implementation details there (like where the flags are stored) so at least a new function will be needed.
Date User Action Args
2020-04-09 16:23:46pablogsalsetrecipients: + pablogsal, pitrou, vstinner, Eric Cousineau
2020-04-09 16:23:46pablogsalsetmessageid: <>
2020-04-09 16:23:46pablogsallinkissue40240 messages
2020-04-09 16:23:46pablogsalcreate