New submission from Andre Wolokita:

Currently in order to have daemonic Timer objects one must instantiate the 
class, set daemonic status through the property (Timer.daemon=True), and then 
start the Timer. It would be nice to have the ability to set the daemonic 
status of the Timer class during instantiation, similar to what is possible 
with the Thread superclass.

This is a trivial enhancement to implement: simply add the daemon keyword 
argument to the Timer constructor, defaulted to None, and pass it on to the 
Thread constructor in the call to super().__init__.

----------
messages: 294808
nosy: awolokita
priority: normal
pull_requests: 1958
severity: normal
status: open
title: Add daemon argument to Timer
type: enhancement
versions: Python 3.7

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue30519>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to