[Python-Dev] threading.Semaphore()'s counter can become negative for non-ints
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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-Dev