Message158756
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. |
|
Date |
User |
Action |
Args |
2012-04-19 21:17:03 | pitrou | set | recipients:
+ pitrou, neologix, cooyeah, sbt, Dustin.Kirkland |
2012-04-19 21:17:02 | pitrou | link | issue14308 messages |
2012-04-19 21:17:02 | pitrou | create | |
|