Christoph Reiter <[email protected]> added the comment:
I would expect Python to print the current statement up to the error instead of
just the last line:
```
File "error.py", line 3-5
print(((123))
if 2:
^
```
This would solve this case nicely while in the common case still show one line
as before.
----------
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue42577>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com