[Python-Dev] PEP 556: Threaded garbage collection
benjamin at python.org
Fri Sep 8 15:04:10 EDT 2017
I like it overall.
- I was wondering what happens during interpreter shutdown. I see you
have that listed as a open issue. How about simply shutting down the
finalization thread and not guaranteeing that finalizers are actually
ever run à la Java?
- Why not run all (Python) finalizers on the thread and not just ones
On Fri, Sep 8, 2017, at 08:05, Antoine Pitrou wrote:
> 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:
> 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.
> Python-Dev mailing list
> Python-Dev at python.org
More information about the Python-Dev