#35960: Improve most tracebacks with exception chaining
-------------------------------------+-------------------------------------
Reporter: Bartosz Sławecki | Owner: Bartosz
Type: | Sławecki
Cleanup/optimization | Status: closed
Component: Core (Other) | Version: dev
Severity: Normal | Resolution: duplicate
Keywords: exception handling, | Triage Stage:
exception chaining, exceptions, | Unreviewed
raise from |
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 1
-------------------------------------+-------------------------------------
Comment (by Bartosz Sławecki):
Replying to [comment:3 Jacob Walls]:
> Thanks for your interest in Django development.
>
> This was discussed before, so I will mark as a duplicate of #31177.
Although it was decided there that a bulk update was not merited, new code
is always welcome to use `raise from` syntax, and in other cases a case-
by-case decision could be taken if there is a compelling reason (e.g.
silencing unwanted context via `from None`).
OK, thanks for letting me know!
--
Ticket URL: <https://code.djangoproject.com/ticket/35960#comment:4>
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 visit
https://groups.google.com/d/msgid/django-updates/010701938372bd5e-688833e2-282d-4076-b63a-f1b1f332cbb0-000000%40eu-central-1.amazonses.com.