[issue8684] improvements to sched.py
Antoine Pitrou
report at bugs.python.org
Mon Dec 12 10:52:18 CET 2011
Antoine Pitrou <pitrou at 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 <report at bugs.python.org>
<http://bugs.python.org/issue8684>
_______________________________________
More information about the Python-bugs-list
mailing list