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 sbt
Recipients Sebastian.Noack, asvetlov, jyasskin, kristjan.jonsson, mklauber, pitrou, sbt
Date 2012-10-01.10:01:31
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
> With this, you are stuck with employing a context manager model only.  
> You loose the flexibility to do explicit acquire_read() or 
> acquire_write().

You are not restricted to the context manager model.  Just use selock.shared.acquire() or selock.exclusive.acquire().
Date User Action Args
2012-10-01 10:01:31sbtsetrecipients: + sbt, pitrou, kristjan.jonsson, jyasskin, asvetlov, mklauber, Sebastian.Noack
2012-10-01 10:01:31sbtsetmessageid: <>
2012-10-01 10:01:31sbtlinkissue8800 messages
2012-10-01 10:01:31sbtcreate