[Python-Dev] cpython: Remove indirection in threading (issue #10968).

Éric Araujo merwok at netwok.org
Fri Jul 29 15:17:12 CEST 2011


Le 29/07/2011 14:48, Antoine Pitrou a écrit :
>> It is now possible to inherit from Thread and other classes, without
>> having to import the private underscored names like multiprocessing did.
> A correction: it was already possible to inherit from Thread (since
> it's quite useful to do so).

Indeed, and Timer for example inherits from Thread.  The other classes I
changed however were not subclassable (the original bug report was about
subclassing Timer, not Thread), I just picked the one wrong example when
writing “X and other classes” :)

Regards


More information about the Python-Dev mailing list