Message251205
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) |
|
Date |
User |
Action |
Args |
2015-09-21 06:00:06 | martin.panter | set | recipients:
+ martin.panter, docs@python, sbt, berker.peksag, davin |
2015-09-21 06:00:06 | martin.panter | set | messageid: <1442815206.39.0.250714584878.issue25201@psf.upfronthosting.co.za> |
2015-09-21 06:00:06 | martin.panter | link | issue25201 messages |
2015-09-21 06:00:06 | martin.panter | create | |
|