Message206659
Ah, I should have looked more closely at the docs to see if there was a public API for that before poking around in the package internals.
In that case, I suggest we change this bit in the test:
# We look inside the context module to find out which
# start methods we can check
from multiprocessing.context import _concrete_contexts
to use the appropriate public API:
# Need to know which start methods we should test
import multiprocessing
AVAILABLE_START_METHODS = set(multiprocessing.get_all_start_methods())
And then adjust the skip check to look in AVAILABLE_START_METHODS rather than _concrete_contexts.
I'll make that change tonight if nobody beats me to it. |
|
Date |
User |
Action |
Args |
2013-12-20 01:58:02 | ncoghlan | set | recipients:
+ ncoghlan, brett.cannon, pitrou, larry, christian.heimes, python-dev, sbt, eric.snow, zach.ware, Olivier.Grisel |
2013-12-20 01:58:02 | ncoghlan | set | messageid: <1387504682.27.0.910992230876.issue19946@psf.upfronthosting.co.za> |
2013-12-20 01:58:02 | ncoghlan | link | issue19946 messages |
2013-12-20 01:58:01 | ncoghlan | create | |
|