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 giampaolo.rodola, josiahcarlson, mark.dickinson, pitrou
Date 2011-12-12.09:52:18
SpamBayes Score 4.295334e-05
Marked as misclassified No
Message-id <1323683538.88.0.549182419023.issue8684@psf.upfronthosting.co.za>
In-reply-to
Content
I'm not convinced by the decorator approach. Why not simply add "with self.lock" at the beginning of each protected method? It would actually save a function call indirection.
History
Date User Action Args
2011-12-12 09:52:18pitrousetrecipients: + pitrou, josiahcarlson, mark.dickinson, giampaolo.rodola
2011-12-12 09:52:18pitrousetmessageid: <1323683538.88.0.549182419023.issue8684@psf.upfronthosting.co.za>
2011-12-12 09:52:18pitroulinkissue8684 messages
2011-12-12 09:52:18pitroucreate