[issue4781] The function, Threading.Timer.run(), may be Inappropriate
Gabriel Genellina
report at bugs.python.org
Thu Jan 1 01:54:40 CET 2009
Gabriel Genellina <gagsl-py2 at yahoo.com.ar> added the comment:
Note that doing this would change the class semantics.
Timer "[...] represents an action that should be run only after a
certain amount of time has passed — a timer." and the example clearly
shows that the action is run *once*.
Timer is basically an example of how to write custom Thread
subclasses; if you want a "repetitive action", you may easily write a
subclass based on the code you posted. Not every useful class must be
in the standard library...
----------
nosy: +gagenellina
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4781>
_______________________________________
More information about the Python-bugs-list
mailing list