STINNER Victor <vstin...@python.org> added the comment:
> I don't follow what you want to change in 3.10.0 final, PEP 657 is for Python > 3.11. Can you clarify? Ah, I thaught that the PEP was implemented in 3.10, I didn't notice that it's a new feature of Python 3.11 :-) > Regarding the issue: I understand what you mean but I don't think we should > get into suppressing the indicators in special situations. In my example, there are 6 frames. The indicators cover the whole line of 3 frames: 50%. It's a common case, it's not special. Python tracebacks are already very verbose: a single exception can easily take 20-30 lines. It's worse for chained exceptions. Python 3.11 makes it worse: up to 1.5x longer. ---------- priority: release blocker -> title: PEP 657 Fine Grained Error Locations: make the traceback less verbose when possible -> PEP 657 Fine Grained Error Locations: omit indicators if they are one the whole line, to make tracebacks shorter _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue45063> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com