homepage

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 r.david.murray
Recipients jjdominguezm, r.david.murray
Date 2012年08月13日.12:52:09
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1344862330.52.0.276495473924.issue15634@psf.upfronthosting.co.za>
In-reply-to
Content
Writing such a decorator is pretty trivial to do. On the other hand, I've done it often enough that I could be convinced it is useful to add.
I think it would be better to have a decorator generator that takes a lock as its argument, however, since an application might well want to use the same lock for sections that it doesn't make sense to decorate, or use an RLock instead of a lock. If no lock is passed, a default Lock could be created.
History
Date User Action Args
2012年08月13日 12:52:10r.david.murraysetrecipients: + r.david.murray, jjdominguezm
2012年08月13日 12:52:10r.david.murraysetmessageid: <1344862330.52.0.276495473924.issue15634@psf.upfronthosting.co.za>
2012年08月13日 12:52:09r.david.murraylinkissue15634 messages
2012年08月13日 12:52:09r.david.murraycreate

AltStyle によって変換されたページ (->オリジナル) /