Opened 2 years ago
Last modified 2 years ago
#33747 closed New feature
Display exception notes on the technical 500 debug page on Python 3.11+. — at Version 3
Reported by: | Adam Johnson | Owned by: | |
---|---|---|---|
Component: | Error reporting | Version: | dev |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Ready for checkin | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description (last modified by )
Similar to these tickets for extending the debug page for Python 3.11 exception changes: #33701, #33752.
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.
Change History (3)
comment:1 by , 2 years ago
Summary: | Display exception notes in in the technical 500 debug page on Python 3.11+. → Display exception notes on the technical 500 debug page on Python 3.11+. |
---|
comment:2 by , 2 years ago
Triage Stage: | Unreviewed → Accepted |
---|
comment:3 by , 2 years ago
Description: | modified (diff) |
---|