[issue19158] BoundedSemaphore.release() subject to races
Richard Oudkerk
report at bugs.python.org
Fri Oct 4 15:36:30 CEST 2013
Richard Oudkerk added the comment:
Is BoundedSemaphore really supposed to be "robust" in the face of too many releases, or does it just provide a sanity check?
I think that releasing a bounded semaphore too many times is a programmer error, and the exception is just a debugging aid for the programmer. Raising an exception 99% of the time should be sufficient for that purpose.
----------
nosy: +sbt
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue19158>
_______________________________________
More information about the Python-bugs-list
mailing list