Irit Katriel <iritkatr...@gmail.com> added the comment:
The cleanup issue was in the except: clause of the main loop: if the user does quit() during the pdb.interaction() call upon an unhandled exception ("the post mortem debugger"), then this quit request is ignored and the program just restarts. The attached patch fixes this by checking for quit requests after the port-mortem debugger returns. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue44461> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com