#15609: Respect PEP 3109 ---------------------------+--------------------------- Reporter: DaNmarner | Owner: nobody Status: new | Milestone: Component: Uncategorized | Version: SVN Keywords: PEP | Triage Stage: Unreviewed Has patch: 1 | ---------------------------+--------------------------- Tho porting to Python 3 has not started yet, there're things to be done without affecting the current support for Python (>2.4).
As mentioned in PEP 3109, one of Python's guiding maxims is "there should be one -- and preferably only one -- obvious way to do it". Specifically, raising exceptions with a message should be done in the ONE TRUE WAY since Python 1.5, as forced by Python 3: raise E(V) All this patch does is to respect this principle. -- Ticket URL: <http://code.djangoproject.com/ticket/15609> 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.