[issue19158] BoundedSemaphore.release() subject to races

Antoine Pitrou report at bugs.python.org
Tue Oct 8 21:03:04 CEST 2013


Antoine Pitrou added the comment:

> Antoine, how strongly do you feel about this?  I confess I don't get
> it.  Copy+paste code duplication doesn't help any of readability,
> correctness, or ease of future maintenance, so I guess it's some
> micro-efficiency concern.  Really?! ;-)

Not very strongly, admittedly. It's just that I find the double locking
a bit silly while we control both implementations :-)

----------

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


More information about the Python-bugs-list mailing list