This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author sbt
Recipients Olivier.Grisel, jnoller, lars, sbt
Date 2013-10-10.14:35:21
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1381415726.16.0.542136741912.issue18999@psf.upfronthosting.co.za>
In-reply-to
Content
Attached is a patch which allows the use of separate contexts.  For example

    try:
        ctx = multiprocessing.get_context('forkserver')
    except ValueError:
        ctx = multiprocessing.get_context('spawn')

    q = ctx.Queue()
    p = ctx.Process(target=foo, args=(q,))
    p.start()
    ...

Also, get_start_method(allow_none=True) will return None if the start method has not yet been fixed.
History
Date User Action Args
2013-10-10 14:35:27sbtsetrecipients: + sbt, jnoller, lars, Olivier.Grisel
2013-10-10 14:35:26sbtsetmessageid: <1381415726.16.0.542136741912.issue18999@psf.upfronthosting.co.za>
2013-10-10 14:35:26sbtlinkissue18999 messages
2013-10-10 14:35:26sbtcreate