[issue16482] pdb.set_trace() clobbering traceback on error

2022-01-18 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> out of date stage: patch review -> resolved status: pending -> closed ___ Python tracker ___

[issue16482] pdb.set_trace() clobbering traceback on error

2022-01-10 Thread Irit Katriel
Irit Katriel added the comment: iritkatriel@Irits-MBP cpython % cat pdb_traceback.py import pdb x = 0 while True: pdb.set_trace() y = "line of code not triggering an error" x += 1 assert x != 3 iritkatriel@Irits-MBP cpython % cat pdb_traceback.py import pdb

[issue16482] pdb.set_trace() clobbering traceback on error

2018-12-04 Thread Aaron Meurer
Aaron Meurer added the comment: You can download the branch for a pull request even if the repo is deleted using this https://stackoverflow.com/a/28622034/161801. That will let you keep the original commits intact. -- nosy: +asmeurer ___ Python

[issue16482] pdb.set_trace() clobbering traceback on error

2018-12-04 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I too just hit this issue with pdb and checked out the PR locally. It works fine though it has merge conflicts with latest master. I am adding 3.8, 3.7 and 3.6 removing the older versions that don't support bug fixes. Since the PR has unknown

[issue16482] pdb.set_trace() clobbering traceback on error

2018-03-27 Thread daniel hahler
daniel hahler added the comment: Just for reference: https://github.com/python/cpython/pull/6233 is about fixing this. -- keywords: +patch nosy: +blueyed pull_requests: +5995 stage: needs patch -> patch review ___ Python

[issue16482] pdb.set_trace() clobbering traceback on error

2017-12-20 Thread Atsuo Ishimoto
Change by Atsuo Ishimoto : -- nosy: +ishimoto ___ Python tracker ___ ___

[issue16482] pdb.set_trace() clobbering traceback on error

2015-05-07 Thread Aaron Meurer
Changes by Aaron Meurer asmeu...@gmail.com: -- nosy: +Aaron.Meurer ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16482 ___ ___ Python-bugs-list

[issue16482] pdb.set_trace() clobbering traceback on error

2015-01-29 Thread Peter Inglesby
Peter Inglesby added the comment: I've just hit this. Is there anything I can do to help get this fixed?` -- nosy: +inglesp ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16482 ___

[issue16482] pdb.set_trace() clobbering traceback on error

2013-04-12 Thread Xavier de Gaye
Xavier de Gaye added the comment: The last patch proposed at issue 17277 and named traced_frame.patch fixes also issue 17697, and issues 7238, 16482. IMHO one should remove the assumption in PyFrame_GetLineNumber() that f_lineno is correct when f_trace is not NULL, as there does not seem to be a

[issue16482] pdb.set_trace() clobbering traceback on error

2013-04-12 Thread Xavier de Gaye
Xavier de Gaye added the comment: Forgot to say that traced_frame.patch includes a test. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16482 ___

[issue16482] pdb.set_trace() clobbering traceback on error

2013-04-11 Thread Ned Deily
Ned Deily added the comment: See also Issue17697. Xavier, would you be willing to submit a patch with a test? -- nosy: +ned.deily stage: - needs patch versions: +Python 3.4 ___ Python tracker rep...@bugs.python.org

[issue16482] pdb.set_trace() clobbering traceback on error

2013-02-25 Thread Jesús Cea Avión
Changes by Jesús Cea Avión j...@jcea.es: -- nosy: +jcea ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16482 ___ ___ Python-bugs-list mailing list

[issue16482] pdb.set_trace() clobbering traceback on error

2012-12-05 Thread Andrew Svetlov
Changes by Andrew Svetlov andrew.svet...@gmail.com: -- nosy: +asvetlov ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16482 ___ ___

[issue16482] pdb.set_trace() clobbering traceback on error

2012-11-24 Thread Xavier de Gaye
Xavier de Gaye added the comment: See also how it is fixed at http://code.google.com/p/pdb-clone/source/detail?r=123d1b6db6649f4b54712db321865fda55395488name=default -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16482

[issue16482] pdb.set_trace() clobbering traceback on error

2012-11-19 Thread Xavier de Gaye
Xavier de Gaye added the comment: The top level frame line number is not updated because it has a local trace function while the global trace function is None. This is related to issue 7238. The following patch fixes the issue. The patch removes the local trace at the top level frame and makes

[issue16482] pdb.set_trace() clobbering traceback on error

2012-11-15 Thread A Kaptur
New submission from A Kaptur: pdb.set_trace() is overwriting the actual traceback when exiting with an error. See minimal recreation here: https://gist.github.com/4079971 -- messages: 175630 nosy: akaptur priority: normal severity: normal status: open title: pdb.set_trace() clobbering