DebugClients/Python3/DebugBase.py

changeset 4063
b7269498aa95
parent 4021
195a471c327b
child 4293
125a75cfd249
equal deleted inserted replaced
4061:8880a520e932 4063:b7269498aa95
644 @param frame the frame object 644 @param frame the frame object
645 @param excinfo information about the exception 645 @param excinfo information about the exception
646 @param unhandled flag indicating an uncaught exception 646 @param unhandled flag indicating an uncaught exception
647 """ 647 """
648 exctype, excval, exctb = excinfo 648 exctype, excval, exctb = excinfo
649
650 if exctype in [GeneratorExit, StopIteration]:
651 # ignore these
652 return
653
649 if exctype in [SystemExit, bdb.BdbQuit]: 654 if exctype in [SystemExit, bdb.BdbQuit]:
650 atexit._run_exitfuncs() 655 atexit._run_exitfuncs()
651 if excval is None: 656 if excval is None:
652 excval = 0 657 excval = 0
653 elif isinstance(excval, str): 658 elif isinstance(excval, str):

eric ide

mercurial