[issue32495] Adding Timer to multiprocessing

2018-02-16 Thread Jay Crotts
Jay Crotts added the comment: Closing this issue, for the reasons Antoine outlined. -- resolution: -> rejected stage: -> resolved status: open -> closed ___ Python tracker

[issue32495] Adding Timer to multiprocessing

2018-01-05 Thread Jay Crotts
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

[issue32495] Adding Timer to multiprocessing

2018-01-05 Thread Antoine Pitrou
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

[issue32495] Adding Timer to multiprocessing

2018-01-04 Thread Jay Crotts
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.