Antoine Pitrou <pit...@free.fr> added the comment: Le jeudi 19 avril 2012 à 21:11 +0000, Charles-François Natali a écrit : > IMO it should be _DummyThread's stop() method that does the right > thing, either by overriding Thread's stop() method in _DummyThread or > by puting the check inside Thread.stop(), like what's done inside > thread._reset_internal_locks():
I don't think _DummyThread can override __stop(), because of the name mangling of __private methods. However, the hasattr() approach would probably work. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue14308> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com