ThreadPoolExecutor and finalization

Jason Mehrens jason_mehrens at
Tue Oct 31 14:13:11 UTC 2017

Hi Peter,

Most of the discussion is in:  The linked issue in that report then links to the CI mail thread.


>I'm trying to understand the purpose of finalize() in TPE, but can't.
>I'm surely missing something. If the pool is no longer referenced AND
>there are no active threads, what is there left to shutdown() actually?
>All that remains is garbage that will eventually be GCed.

>Regards, Peter

More information about the core-libs-dev mailing list