#28665 closed Cleanup/optimization (fixed)

Raise NotSupportedError instead of NotImplemented error when a per PEP 249

Reported by: Simon Charette Owned by: Simon Charette
Component: Database layer (models, ORM) Version: master
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


There's a few instances of NotImplementedError in django.db that should be django.db.utils.NotSupportedError to adhere to PEP 249.

Change History (3)

comment:1 Changed 13 months ago by Simon Charette

comment:2 Changed 13 months ago by Simon Charette

Has patch: set

comment:3 Changed 13 months ago by Tim Graham <timograham@…>

Resolution: fixed
Status: assignedclosed

In 9d93dff:

Fixed #28665 -- Change some database exceptions to NotImplementedError per PEP 249.

Note: See TracTickets for help on using tickets.
Back to Top