#32508: Raise proper exceptions instead of using "assert".
-------------------------------------+-------------------------------------
     Reporter:  Adam Johnson         |                    Owner:  Mateo
         Type:                       |  Radman
  Cleanup/optimization               |                   Status:  closed
    Component:  Core (Other)         |                  Version:  dev
     Severity:  Normal               |               Resolution:  fixed
     Keywords:                       |             Triage Stage:  Accepted
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by David):

 There are still many `assert` statements in the codebase
 
https://github.com/search?q=repo%3Adjango%2Fdjango+language%3APython+path%3A%2F%5Edjango%5C%2F%2F++content%3A%22+assert+%22&type=code

 Are they going to stay there or is it ok to remove them?

-- 
Ticket URL: <https://code.djangoproject.com/ticket/32508#comment:47>
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 on the web visit 
https://groups.google.com/d/msgid/django-updates/010701891c8c5e0d-e2cba96d-5a4e-4ce6-a434-b2bc76bd92d4-000000%40eu-central-1.amazonses.com.

Reply via email to