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 pitrou
Recipients pitrou, sbt, tim.peters, vstinner
Date 2013-10-08.08:50:44
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1381222244.52.0.170517618703.issue19158@psf.upfronthosting.co.za>
In-reply-to
Content
The implementation is a bit weird. Why take the lock a second time instead of simply reimplementing the release() method?
(it's a 5-liner)

By the way, Semaphore.acquire could probably use Condition.wait_for.
History
Date User Action Args
2013-10-08 08:50:44pitrousetrecipients: + pitrou, tim.peters, vstinner, sbt
2013-10-08 08:50:44pitrousetmessageid: <1381222244.52.0.170517618703.issue19158@psf.upfronthosting.co.za>
2013-10-08 08:50:44pitroulinkissue19158 messages
2013-10-08 08:50:44pitroucreate