Antoine Pitrou <pit...@free.fr> added the comment:

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.

----------
stage:  -> patch review
versions: +Python 3.3 -Python 3.2

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue8684>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to