Xavier de Gaye added the comment: Uploaded refleak_5.patch with a simpler test case. With the patch applied, './python -m test -R 3:3 test_pdb' runs with success.
The '_previous_sigint_handler' is reset at the Pdb prompt - instead of when the signal is triggered - to handle the case where pdb stops at a new set_trace() hard breakpoint after it has been run with 'continue'. As a side effect, this also fixes issue 22502. ---------- assignee: -> xdegaye stage: -> patch review versions: +Python 3.6, Python 3.7 -Python 3.4 Added file: http://bugs.python.org/file44936/refleak_5.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue20766> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com