#11784: exceptions should sublcass StandardError, not Exception ----------------------------+----------------------------------------------- Reporter: anonymous | Owner: nobody Status: new | Milestone: Component: Core framework | Version: 1.1 Keywords: exception | Stage: Unreviewed Has_patch: 1 | ----------------------------+----------------------------------------------- a quick look at the standard python library's exception hierarchy ( http://docs.python.org/library/exceptions.html#exception-hierarchy ) will show that in all but a few special cases, exceptions should subclass StandardError. all of django's exceptions subclass the parent class of StandardError, Exception. In addition to being good practice to keep a clean class hierarchy, coders accustomed to catching StandardError may have unexpected results when using django.
-- Ticket URL: <http://code.djangoproject.com/ticket/11784> Django <http://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 post to this group, send email to django-updates@googlegroups.com To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-updates?hl=en -~----------~----~----~----~------~----~------~--~---