Message299921
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. |
|
Date |
User |
Action |
Args |
2017-08-08 14:02:30 | nvdv | set | recipients:
+ nvdv |
2017-08-08 14:02:29 | nvdv | set | messageid: <1502200949.97.0.102357103627.issue31144@psf.upfronthosting.co.za> |
2017-08-08 14:02:29 | nvdv | link | issue31144 messages |
2017-08-08 14:02:29 | nvdv | create | |
|