[Python-Dev] PEP 556: Threaded garbage collection

Antoine Pitrou solipsis at pitrou.net
Fri Sep 8 11:05:23 EDT 2017


Hello,

I've written a PEP by which you can tell the GC to run in a dedicated
thread.  The goal is to solve reentrancy issues with finalizers:
https://www.python.org/dev/peps/pep-0556/

Regards

Antoine.

PS: I did not come up with the idea for this PEP while other people
were having nightmares.  Any nightmares involved in this PEP are
fictional, and any resemblance to actual nightmares is purely
coincidental.  No nightmares were harmed while writing this PEP.



More information about the Python-Dev mailing list