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 Sebastian.Noack, asvetlov, jyasskin, kristjan.jonsson, mklauber, pitrou, sbt
Date 2012-10-01.09:49:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1349084989.3.0.06973525463.issue8800@psf.upfronthosting.co.za>
In-reply-to
Content
>> shared/exclusive -> abstract description of what it is

If you want to argue it this way, I counter that the attributes "shared" and "exclusive" apply to the type of "access to the protected object" you are talking about, and yet, the name suggest that they are attributes of the lock itself.

In that sense, "reader lock" and "writer lock", describe attributes of the user of the lock, and the verbs "readlock" and "writelock" describe the operation being requested.

It's simply more difficult to use the more abstract concepts 'shared' and 'exclusive' as convenient and transparent descriptors of what the thing does, and likely to just brew confusion.
History
Date User Action Args
2012-10-01 09:49:49kristjan.jonssonsetrecipients: + kristjan.jonsson, pitrou, jyasskin, asvetlov, sbt, mklauber, Sebastian.Noack
2012-10-01 09:49:49kristjan.jonssonsetmessageid: <1349084989.3.0.06973525463.issue8800@psf.upfronthosting.co.za>
2012-10-01 09:49:49kristjan.jonssonlinkissue8800 messages
2012-10-01 09:49:48kristjan.jonssoncreate