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 kristjan.jonsson
Recipients kristjan.jonsson, pitrou, sbt
Date 2012-06-22.13:56:56
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1340373417.12.0.856957491986.issue15124@psf.upfronthosting.co.za>
In-reply-to
Content
well, I'm thinking for example about threading.Condition, where Lock objects are being created and erased willy nilly.  
Also, locks are normally uncontested.  The unconstested case is the one to optimize for. As such, the test cases are not artificial at all.

The implementers of RLock in _threadingmodule obviously thought this was important, I'm merely bringing that same benefit to the Lock object.
History
Date User Action Args
2012-06-22 13:56:57kristjan.jonssonsetrecipients: + kristjan.jonsson, pitrou, sbt
2012-06-22 13:56:57kristjan.jonssonsetmessageid: <1340373417.12.0.856957491986.issue15124@psf.upfronthosting.co.za>
2012-06-22 13:56:56kristjan.jonssonlinkissue15124 messages
2012-06-22 13:56:56kristjan.jonssoncreate