#33747: Display exception notes in in the technical 500 debug page on Python
3.11+.
-------------------------------------------+------------------------
Reporter: Adam Johnson | Owner: (none)
Type: New feature | Status: new
Component: Error reporting | Version: 4.1
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------------+------------------------
Similar to #33701's suggestion to extend the debug page.
Python 3.11 adds `BaseException.__notes__` which may include extra
information about the exception. These are expected to be used by certain
libraries that can attach context to exceptions.
https://docs.python.org/3.11/whatsnew/3.11.html#exceptions-can-be-
enriched-with-notes-pep-678
The default Python error handler displays these. Django's debug page
should too, to aid debugging.
--
Ticket URL: <https://code.djangoproject.com/ticket/33747>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/010701810629b99d-b8fcc582-4889-4fe2-b016-a29c2a0bb232-000000%40eu-central-1.amazonses.com.