Jay Crotts added the comment:
Closing this issue, for the reasons Antoine outlined.
--
resolution: -> rejected
stage: -> resolved
status: open -> closed
___
Python tracker
Jay Crotts added the comment:
I think your three reasons make sense, I've only found threading.Timer helpful
in pretty trivial cases.
Do you think a more flexible or efficient Timer class would be useful?
--
___
Python
Antoine Pitrou added the comment:
The threading.Timer class is in my experience little used, for two reasons:
1) it's not very flexible (no periodic calls, no restart...)
2) it's not efficient (as it creates a new thread for each timer)
3) (third optional reason) many
New submission from Jay Crotts :
I wanted to propose the addition of a Timer class to the multiprocessing
library similar to the one that exists in the Threading module.
Timer provides an example of how to extend the Process class that might be
helpful to beginners.