Issue 35571: Parallel Timeout Class (original) (raw)

Issue35571

Created on 2018-12-23 18:05 by Stefan Volz, last changed 2022-04-11 14:59 by admin.

Files
File name Uploaded Description Edit
Timeout.py Stefan Volz,2018-12-23 18:05 Proposed class with test
Messages (1)
msg332392 - (view) Author: Stefan Volz (Stefan Volz) * Date: 2018-12-23 18:05
Hello, I'm currently writing my finals project using Python and needed a feature that threading.Timer could nearly but not quite fulfill: Execute a function after given time *with arguments provided and have the timer resettable*. So I did it myself and today I had the idea that it may be a good addition to the standartlibrary. The class is attached, on the bottom is a small test.
History
Date User Action Args
2022-04-11 14:59:09 admin set github: 79752
2018-12-23 18:05:07 Stefan Volz create