Karthikeyan Singaravelan <tir.kar...@gmail.com> added the comment:
Seems this is a known issue and has an open PR https://github.com/python/cpython/pull/6233 . I checked out the PR locally and it works fine on the examples presented though has merge conflicts with master. I am closing it as duplicate of issue16482 that links to other possible issues. ---------- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> pdb.set_trace() clobbering traceback on error _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue35405> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com