This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Parallel Timeout Class
Type: enhancement Stage:
Components: Extension Modules Versions: Python 3.8
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: Stefan Volz
Priority: normal Keywords:

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:09adminsetgithub: 79752
2018-12-23 18:05:07Stefan Volzcreate