Opened 2 years ago
Closed 2 years ago
#33747 closed New feature (fixed)
Display exception notes on the technical 500 debug page on Python 3.11+.
Reported by: | Adam Johnson | Owned by: | Giebisch |
---|---|---|---|
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 (11)
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) |
---|
comment:4 by , 2 years ago
Triage Stage: | Accepted → Someday/Maybe |
---|---|
Version: | 4.1 → dev |
comment:5 by , 2 years ago
Triage Stage: | Someday/Maybe → Accepted |
---|
comment:6 by , 2 years ago
Owner: | set to |
---|---|
Status: | new → assigned |
comment:8 by , 2 years ago
Patch needs improvement: | set |
---|
comment:9 by , 2 years ago
Patch needs improvement: | unset |
---|
comment:10 by , 2 years ago
Triage Stage: | Accepted → Ready for checkin |
---|
Note:
See TracTickets
for help on using tickets.
Let's wait for the final release first.