Opened 5 years ago

Last modified 5 years ago

#31177 closed Cleanup/optimization

Use "raise from" where appropriate — at Version 1

Reported by: Ram Rachum Owned by: nobody
Component: Core (Other) Version: 3.0
Severity: Normal Keywords:
Cc: Shai Berger Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description (last modified by Ram Rachum)

Following #31166 , I made a regex search to find 90% of places where we use "raise" and should use "raise from".

PR: https://github.com/django/django/pull/12339

If this is too big for one PR, I could split it to smaller chunks.

Change History (1)

comment:1 by Ram Rachum, 5 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.
Back to Top