Message218090
Here's a patch. I have added initializer and initargs keywords to both ThreadPoolExecutor and ProcessPoolExecutor, with the same semantics as multiprocessing.Pool.
I couldn't figure out what to do if the initializer fails with a ProcessPoolExecutor: how to properly send the traceback back? I also haven't gotten around to figure out how to write tests.
I haven't added unitializers, don't know if they would be useful. |
|
Date |
User |
Action |
Args |
2014-05-07 23:15:38 | andreasvc | set | recipients:
+ andreasvc, bquinlan, mark.dickinson, josh.r |
2014-05-07 23:15:38 | andreasvc | set | messageid: <1399504538.12.0.586752797168.issue21423@psf.upfronthosting.co.za> |
2014-05-07 23:15:38 | andreasvc | link | issue21423 messages |
2014-05-07 23:15:37 | andreasvc | create | |
|