A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2012-January/116023.html below:

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

[Python-Dev] threading.Semaphore()'s counter can become negative for non-ints [Python-Dev] threading.Semaphore()'s counter can become negative for non-intsGuido van Rossum guido at python.org
Mon Jan 30 23:14:51 CET 2012
On Mon, Jan 30, 2012 at 2:11 PM, Matt Joiner <anacrolix at gmail.com> wrote:
> It's also potentially lossy if you incremented and decremented until integer
> precision is lost. My vote is for an int type check. No casting.

+1. Anything else is insane scope creep for something called "Semaphore".

-- 
--Guido van Rossum (python.org/~guido)
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4