New submission from Miki Tebeka <miki.teb...@gmail.com>:

It would be nice if threading.Thread constructor will have a "daemon"
argument as well.

This way we'll be able to write
    Thread(target=some_function, daemon=1).start()

Instead of currently writing
    t = Thread(target=some_function)
    t.daemon = True
    t.start()

----------
components: Library (Lib)
messages: 88088
nosy: tebeka
severity: normal
status: open
title: Add "daemon" argument to threading.Thread constructor
type: feature request
versions: Python 2.7

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

Reply via email to