DebugClients/Python/ThreadExtension.py

branch
maintenance
changeset 5948
6f958d5765f4
parent 5680
b93cb6353cc0
child 5949
22657f04f332
--- a/DebugClients/Python/ThreadExtension.py	Wed Nov 01 19:22:02 2017 +0100
+++ b/DebugClients/Python/ThreadExtension.py	Fri Nov 03 12:10:16 2017 +0100
@@ -291,8 +291,6 @@
             if hasattr(module, 'settrace'):
                 self.greenlet = True
                 DebugBase.pollTimerEnabled = False
-            
-            # TODO: Implement the debugger extension for greenlets
         
         # Add hook for threading.run()
         elif (fullname == "threading" and self.threadingAttached is False):
@@ -330,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