[Python-Dev] threading.Semaphore()'s counter can become negative for non-ints

John O'Connor jxo6948 at rit.edu
Mon Jan 30 03:11:08 CET 2012


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.


More information about the Python-Dev mailing list