﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
33701	Highlight error location in the technical 500 debug page on Python 3.11+.	Adam Johnson	Giebisch	"Similar to these tickets for extending the debug page for Python 3.11 exception changes: #33747, #33752.

Python 3.11 adds ""where in the line"" highlighting to tracebacks:

{{{
$ python3.11 t.py
Traceback (most recent call last):
  File ""/.../example.py"", line 5, in <module>
    formula(1, 0)
    ^^^^^^^^^^^^^
  File ""/.../example.py"", line 2, in formula
    return a / b + b / a
           ~~^~~
ZeroDivisionError: division by zero
}}}

Release note: https://docs.python.org/3.11/whatsnew/3.11.html#enhanced-error-locations-in-tracebacks

It would be good if we could use this on Django's error pages as well.

The new code column information API may be required: https://docs.python.org/3.11/whatsnew/3.11.html#column-information-for-code-objects . Note it can be disabled."	New feature	closed	Error reporting	dev	Normal	fixed		Hrushikesh Vaidya Keryn Knight	Ready for checkin	1	0	0	0	0	0
