[Python-ideas] Thread.__init__ should call super()
Antoine Pitrou
solipsis at pitrou.net
Sat Oct 28 12:41:54 EDT 2017
More information about the Python-ideas mailing list
Sat Oct 28 12:41:54 EDT 2017
- Previous message (by thread): [Python-ideas] Thread.__init__ should call super()
- Next message (by thread): [Python-ideas] Composition over Inheritance
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Fri, 27 Oct 2017 13:59:01 -0700 Ilya Kulakov <kulakov.ilya at gmail.com> wrote: > Since one of the legit use-cases of using the Thread class is subclassing, > I think it's __init__ should call super() to support cooperative inheritance. Not to derail this thread, but I find it much clearer to use the functional form of the Thread class, i.e. to pass the `target` and `args` constructor parameters. Regards Antoine.
- Previous message (by thread): [Python-ideas] Thread.__init__ should call super()
- Next message (by thread): [Python-ideas] Composition over Inheritance
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-ideas mailing list