This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author iritkatriel
Recipients iritkatriel, jaraco
Date 2021-06-28.16:22:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1624897361.89.0.685523260706.issue44461@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2021-06-28 16:22:41iritkatrielsetrecipients: + iritkatriel, jaraco
2021-06-28 16:22:41iritkatrielsetmessageid: <1624897361.89.0.685523260706.issue44461@roundup.psfhosted.org>
2021-06-28 16:22:41iritkatriellinkissue44461 messages
2021-06-28 16:22:41iritkatrielcreate