Re: [Python-Dev] cpython: Remove indirection in threading (issue #10968).
On Fri, 29 Jul 2011 14:35:23 +0200 eric.araujo <python-checkins@python.org> wrote:
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). Regards Antoine.
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
participants (2)
-
Antoine Pitrou -
Éric Araujo