[New-bugs-announce] [issue31144] add initializer to concurrent.futures.ProcessPoolExecutor

nvdv report at bugs.python.org
Tue Aug 8 10:02:29 EDT 2017


New submission from nvdv:

Unfortunately concurrent.futures.ProcessPoolExecutor does not provide any means to interact with worker processes (like initializer function in multiprocessing.Pool constructor).

This problem has been mentioned at least once: 
https://mail.python.org/pipermail/python-dev/2014-March/133697.html.

It's not hard to work around this issue by subclassing ProcessPoolExecutor and adding all necessary methods, but IMO solution can be more generic.

----------
components: Library (Lib)
messages: 299921
nosy: nvdv
priority: normal
severity: normal
status: open
title: add initializer to concurrent.futures.ProcessPoolExecutor
type: enhancement
versions: Python 3.6

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue31144>
_______________________________________


More information about the New-bugs-announce mailing list