Date: Tuesday, February 24, 2015 @ 01:54:47 Author: arcanis Revision: 128162
upgpkg: eric 6.0.2-1 Deleted: eric/trunk/eric-debugger-171.patch -------------------------+ eric-debugger-171.patch | 70 ---------------------------------------------- 1 file changed, 70 deletions(-) Deleted: eric-debugger-171.patch =================================================================== --- eric-debugger-171.patch 2015-02-24 00:53:50 UTC (rev 128161) +++ eric-debugger-171.patch 2015-02-24 00:54:47 UTC (rev 128162) @@ -1,70 +0,0 @@ - -# HG changeset patch -# User Detlev Offenbach <[email protected]> -# Date 1422041255 -3600 -# Node ID c918bd03f0ff4deffba8934d37baadaf6d7d9587 -# Parent 7d7ce7fdccfdc76f5865849e348a4a33ef104a92 -Fixed a serious issue handling 'non-error' exceptions in the debugger. This bug was about 10 years old. -(grafted from b7269498aa95bdf2e28c7a23697e1b0a6cdc638b) - -diff -r 7d7ce7fdccfd -r c918bd03f0ff DebugClients/Python/DebugBase.py ---- a/DebugClients/Python/DebugBase.py Thu Jan 22 19:16:51 2015 +0100 -+++ b/DebugClients/Python/DebugBase.py Fri Jan 23 20:27:35 2015 +0100 -@@ -636,6 +636,11 @@ - @param exctb traceback for the exception - @param unhandled flag indicating an uncaught exception - """ -+ -+ if exctype in [GeneratorExit, StopIteration]: -+ # ignore these -+ return -+ - if exctype in [SystemExit, bdb.BdbQuit]: - atexit._run_exitfuncs() - if excval is None: -diff -r 7d7ce7fdccfd -r c918bd03f0ff DebugClients/Python/DebugClientBase.py ---- a/DebugClients/Python/DebugClientBase.py Thu Jan 22 19:16:51 2015 +0100 -+++ b/DebugClients/Python/DebugClientBase.py Fri Jan 23 20:27:35 2015 +0100 -@@ -325,7 +325,10 @@ - d = {} - d["id"] = -1 - d["name"] = "MainThread" -- d["broken"] = self.isBroken() -+ if hasattr(self, "isBroken"): -+ d["broken"] = self.isBroken() -+ else: -+ d["broken"] = False - threadList.append(d) - - self.write('%s%s\n' % (DebugProtocol.ResponseThreadList, -diff -r 7d7ce7fdccfd -r c918bd03f0ff 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: -diff -r 7d7ce7fdccfd -r c918bd03f0ff DebugClients/Python3/DebugClientBase.py ---- a/DebugClients/Python3/DebugClientBase.py Thu Jan 22 19:16:51 2015 +0100 -+++ b/DebugClients/Python3/DebugClientBase.py Fri Jan 23 20:27:35 2015 +0100 -@@ -294,7 +294,10 @@ - d = {} - d["id"] = -1 - d["name"] = "MainThread" -- d["broken"] = self.isBroken() -+ if hasattr(self, "isBroken"): -+ d["broken"] = self.isBroken() -+ else: -+ d["broken"] = False - threadList.append(d) - - self.write("{0}{1!r}\n".format(DebugProtocol.ResponseThreadList, -
