[issue23484] SemLock acquire() keyword arg 'blocking' is invalid

Davin Potts report at bugs.python.org
Sat Feb 21 04:26:13 CET 2015


Davin Potts added the comment:

Of course, there's code in the wild that expects and uses the parameter named 'block' so simply changing this keyword will result in breaking others' code.

Two potentially appealing options:
1) Document that acquire in multiprocessing differs from threading in this way.
2) Implement 'blocking' as a supported keyword argument though preserve support for 'block' as a deprecated keyword.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue23484>
_______________________________________


More information about the Python-bugs-list mailing list