Author larkost
Recipients dan.oreilly, larkost, lee.clemens, sbt
Date 2014-11-05.22:07:09
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1415225229.91.0.552286719449.issue21367@psf.upfronthosting.co.za>
In-reply-to
Content
We just got bitten by this issue because we are trying to be compatible across 2.x and 3.x (including 3.0-3.2). For anyone who runs into the "missing 1 required keyword-only argument: 'ctx'" here is an import statement that works:

try:
    from multiprocessing import SimpleQueue
except ImportError:
    from multiprocessing.queues import SimpleQueue

Replace SimpleQueue with JoinableQueue if you need that. Importing in the other order will wind you up in problems in 3.4.2+.
History
Date User Action Args
2014-11-05 22:07:10larkostsetrecipients: + larkost, sbt, lee.clemens, dan.oreilly
2014-11-05 22:07:09larkostsetmessageid: <1415225229.91.0.552286719449.issue21367@psf.upfronthosting.co.za>
2014-11-05 22:07:09larkostlinkissue21367 messages
2014-11-05 22:07:09larkostcreate