[issue46215] Wrong error line after using pdb
New submission from beda pišl : Consider simple script: ``` for i in range(1): import pdb pdb.set_trace() x = y + z ``` After running it and pressing 'c' to continue: ``` test$ python test.py > /Users/bedrich.pisl/test/test.py(1)() -> for i in range(1): (Pdb) c ```
[issue46215] Wrong error line after using pdb
beda pišl added the comment: I tried this on current main branch, and I cannot reproduce the problem there. -- stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.org/i