Author ncoghlan
Recipients Olivier.Grisel, brett.cannon, christian.heimes, eric.snow, larry, ncoghlan, pitrou, python-dev, sbt, zach.ware
Date 2013-12-20.01:58:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1387504682.27.0.910992230876.issue19946@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2013-12-20 01:58:02ncoghlansetrecipients: + ncoghlan, brett.cannon, pitrou, larry, christian.heimes, python-dev, sbt, eric.snow, zach.ware, Olivier.Grisel
2013-12-20 01:58:02ncoghlansetmessageid: <1387504682.27.0.910992230876.issue19946@psf.upfronthosting.co.za>
2013-12-20 01:58:02ncoghlanlinkissue19946 messages
2013-12-20 01:58:01ncoghlancreate