Message197524
The process pool executor [1] from the concurrent futures API would be suitable to explicitly start and stop the helper process for the `forkserver` mode.
[1] http://docs.python.org/3.4/library/concurrent.futures.html#concurrent.futures.ProcessPoolExecutor
The point would be to have as few state as possible encoded in the multiprocessing module (and its singletons) and move that state information to be directly managed by multiprocessing Process and Pool class instances so that libraries could customize the behavior (start_method, executable, ForkingPIckler reducers registry and so on) without mutating the state of the multiprocessing module singletons. |
|
Date |
User |
Action |
Args |
2013-09-12 12:54:12 | Olivier.Grisel | set | recipients:
+ Olivier.Grisel, jnoller, sbt, lars |
2013-09-12 12:54:11 | Olivier.Grisel | set | messageid: <1378990451.99.0.922599868114.issue18999@psf.upfronthosting.co.za> |
2013-09-12 12:54:11 | Olivier.Grisel | link | issue18999 messages |
2013-09-12 12:54:11 | Olivier.Grisel | create | |
|