* stage: Unreviewed => Accepted
--
Ticket URL: <https://code.djangoproject.com/ticket/33747#comment:2>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
Old description:
> 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.
New description:
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.
--
--
Ticket URL: <https://code.djangoproject.com/ticket/33747#comment:3>
* version: 4.1 => dev
* stage: Accepted => Someday/Maybe
Comment:
Let's wait for the final release first.
--
Ticket URL: <https://code.djangoproject.com/ticket/33747#comment:4>
* stage: Someday/Maybe => Accepted
--
Ticket URL: <https://code.djangoproject.com/ticket/33747#comment:5>
* owner: (none) => Giebisch
* status: new => assigned
--
Ticket URL: <https://code.djangoproject.com/ticket/33747#comment:6>
* has_patch: 0 => 1
--
Ticket URL: <https://code.djangoproject.com/ticket/33747#comment:7>
* needs_better_patch: 0 => 1
--
Ticket URL: <https://code.djangoproject.com/ticket/33747#comment:8>
* needs_better_patch: 1 => 0
--
Ticket URL: <https://code.djangoproject.com/ticket/33747#comment:9>
* stage: Accepted => Ready for checkin
--
Ticket URL: <https://code.djangoproject.com/ticket/33747#comment:10>
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"80c66e40f7beecbd5ee501f757a2e61236597349" 80c66e4]:
{{{
#!CommitTicketReference repository=""
revision="80c66e40f7beecbd5ee501f757a2e61236597349"
Fixed #33747 -- Added exception notes to the technical 500 debug page.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/33747#comment:11>