[Python-Dev] threading.Semaphore()'s counter can become negative for non-ints
Raymond Hettinger
raymond.hettinger at gmail.com
Tue Jan 31 21:10:16 CET 2012
On Jan 29, 2012, at 6:11 PM, John O'Connor wrote:
> On Sat, Jan 28, 2012 at 3:07 PM, Benjamin Peterson <benjamin at python.org> wrote:
>> But why would you want to pass a float? It seems like API abuse to me.
>>
>
> Agreed. Anything else seems meaningless.
I concur. This is very much a non-problem.
There is no need to add more code and slow
running time with superfluous type checks.
Raymond
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20120131/9bb3b35e/attachment.html>
More information about the Python-Dev
mailing list