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 martin.panter
Recipients berker.peksag, davin, docs@python, martin.panter, sbt
Date 2015-09-21.06:00:06
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1442815206.39.0.250714584878.issue25201@psf.upfronthosting.co.za>
In-reply-to
Content
I’m not familiar with this module, but I believe “lock” is indeed keyword-only. If you were to try a positional argument, it would be picked up as part of *args:

>>> multiprocessing.Value("I")  # Default to 0, lock=True
<Synchronized wrapper for c_uint(0)>
>>> multiprocessing.Value("I", False)  # False == 0, still lock=True
<Synchronized wrapper for c_uint(0)>
>>> multiprocessing.Value("I", lock=False)
c_uint(0)
History
Date User Action Args
2015-09-21 06:00:06martin.pantersetrecipients: + martin.panter, docs@python, sbt, berker.peksag, davin
2015-09-21 06:00:06martin.pantersetmessageid: <1442815206.39.0.250714584878.issue25201@psf.upfronthosting.co.za>
2015-09-21 06:00:06martin.panterlinkissue25201 messages
2015-09-21 06:00:06martin.pantercreate