Little fix for ThreadExtension.py for an issue caused by _DummyThread being used instead of a real Thread (e.g. on some Windows platforms).

Sat, 21 Oct 2017 15:13:56 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 21 Oct 2017 15:13:56 +0200
changeset 5918
d89cd224dd1b
parent 5917
ba1312abe858
child 5919
d0de2b378b24

Little fix for ThreadExtension.py for an issue caused by _DummyThread being used instead of a real Thread (e.g. on some Windows platforms).

DebugClients/Python/ThreadExtension.py file | annotate | diff | comparison | revisions
--- a/DebugClients/Python/ThreadExtension.py	Sat Oct 21 15:11:21 2017 +0200
+++ b/DebugClients/Python/ThreadExtension.py	Sat Oct 21 15:13:56 2017 +0200
@@ -328,7 +328,7 @@
                     # intercept the thread creation by threading.Thread
                     self.run = lambda s=self, run=self.run: _bootstrap(s, run)
                     
-                    super(ThreadWrapper, self).__init__(*args, **kwargs)
+                    module.Thread.__init__(self, *args, **kwargs)
             
             module.Thread = ThreadWrapper
         

eric ide

mercurial