DebugClients/Python3/DebugBase.py

changeset 4063
b7269498aa95
parent 4021
195a471c327b
child 4293
125a75cfd249
diff -r 8880a520e932 -r b7269498aa95 DebugClients/Python3/DebugBase.py
--- a/DebugClients/Python3/DebugBase.py	Thu Jan 22 19:16:51 2015 +0100
+++ b/DebugClients/Python3/DebugBase.py	Fri Jan 23 20:27:35 2015 +0100
@@ -646,6 +646,11 @@
         @param unhandled flag indicating an uncaught exception
         """
         exctype, excval, exctb = excinfo
+        
+        if exctype in [GeneratorExit, StopIteration]:
+            # ignore these
+            return
+        
         if exctype in [SystemExit, bdb.BdbQuit]:
             atexit._run_exitfuncs()
             if excval is None:

eric ide

mercurial