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 <rep...@bugs.python.org>
<http://bugs.python.org/issue31144>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to