This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author josh.r
Recipients BreamoreBoy, josh.r, neologix, pitrou, rhettinger, tim.peters
Date 2014-06-25.23:55:38
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1403740538.23.0.445339552654.issue10978@psf.upfronthosting.co.za>
In-reply-to
Content
Never know whether to comment on issue itself, but just in case:

There are issues with the patch when n < 0 is passed, as n is not sanity checked, which would break the Semaphore invariant (value must be >= 0). n == 0 is also a weird value, but harmless if passed; release(0) would acquire and release the lock but otherwise act as a noop.
History
Date User Action Args
2014-06-25 23:55:38josh.rsetrecipients: + josh.r, tim.peters, rhettinger, pitrou, neologix, BreamoreBoy
2014-06-25 23:55:38josh.rsetmessageid: <1403740538.23.0.445339552654.issue10978@psf.upfronthosting.co.za>
2014-06-25 23:55:38josh.rlinkissue10978 messages
2014-06-25 23:55:38josh.rcreate