Irit Katriel <iritkatr...@yahoo.com> added the comment:
Your fix looks correct - the problem is that the list of breakpoints gets emptied by the clear_break call, and you copy the list so that it can be echoed later if clear_break does not err. I made some polishing comments on the PR, and it also need to be rebased because there is not a merge conflict on test_pdb. ---------- title: pdb can't output the prompt message when successfully clear breakpoints by "filename:lineno" -> pdb does not output the prompt message when successfully clear breakpoints by "filename:lineno" versions: +Python 3.11 -Python 3.8 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue43318> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com