[issue25293] Hooking Thread/Process instantiation in concurrent.futures.

2017-11-02 Thread Antony Lee
Antony Lee added the comment: I can't say I *really* need this anymore, but note that https://bugs.python.org/issue21423 is less general as it does not handle the case of a finalizer as proposed here. -- ___ Python tracker

[issue25293] Hooking Thread/Process instantiation in concurrent.futures.

2017-11-02 Thread Antoine Pitrou
Antoine Pitrou added the comment: I'd rather close this in favour of issue21423. -- nosy: +pitrou resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> concurrent.futures.ThreadPoolExecutor/ProcessPoolExecutor should accept an initializer argument __

[issue25293] Hooking Thread/Process instantiation in concurrent.futures.

2015-10-02 Thread Yury Selivanov
Changes by Yury Selivanov : -- nosy: +yselivanov ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue25293] Hooking Thread/Process instantiation in concurrent.futures.

2015-10-01 Thread Antony Lee
New submission from Antony Lee: http://bugs.python.org/issue21423 and http://bugs.python.org/issue24980 suggest adding an initializer/on_new_thread argument to {Thread,Process}PoolExecutor. I would like to suggest a more unified API, that would allow not only handling initialization, but also