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.

Unsupported provider

Author pitrou
Recipients Rhamphoryncus, giampaolo.rodola, gregory.p.smith, jcea, pitrou, sserrano, vstinner
Date 2008-08-20.14:17:05
SpamBayes Score 4.2663764e-06
Marked as misclassified No
Message-id <1219241828.87.0.0582704132386.issue3001@psf.upfronthosting.co.za>
In-reply-to
Content
Wow, that was quick. Did you try to replace threading.RLock with your
implementation, and run the tests?

By the way:
> - acquire() method argument "blocking" is not a keyword
> - In the Python version, RLock._release_save() replaces owner and 
> counter attributes before release the lock. But releasing the lock may 
> fails and no the object is in an inconsistent state

Removing the debugging statements is fine, but apart from that the C
implementation should mimick the current behaviour. Even if this
behaviour has potential pitfalls.

Speaking of which, it would be nice if RLock was subclassable. I don't
know whether any software relies on this though.
History
Date User Action Args
2008-08-20 14:17:08pitrousetrecipients: + pitrou, gregory.p.smith, jcea, Rhamphoryncus, vstinner, giampaolo.rodola, sserrano
2008-08-20 14:17:08pitrousetmessageid: <1219241828.87.0.0582704132386.issue3001@psf.upfronthosting.co.za>
2008-08-20 14:17:05pitroulinkissue3001 messages
2008-08-20 14:17:05pitroucreate