Martin Panter added the comment:

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)

----------
nosy: +martin.panter

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue25201>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to