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.