[issue1676820] Add a PeriodicTimer to threading

Antoine Pitrou report at bugs.python.org
Fri Sep 17 00:58:27 CEST 2010


Antoine Pitrou <pitrou at free.fr> added the comment:

I don't really agree with "negative periods behave like if the period was 0". Negative periods don't mean anything and should just raise ValueError.
(as for 0, well, we can allow it anyway, although it means the timer just degenerates into an busy loop)

The doc will have to be converted to the new Sphinx format, as well.

----------
nosy: +jyasskin

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue1676820>
_______________________________________


More information about the Python-bugs-list mailing list