#12995: "source" exception attribute no longer handled properly by debug exception handler --------------------------------------+------------------------------------- Reporter: Glenn | Owner: nobody Status: new | Milestone: Component: Template system | Version: SVN Resolution: | Keywords: Stage: Accepted | Has_patch: 0 Needs_docs: 0 | Needs_tests: 0 Needs_better_patch: 0 | --------------------------------------+------------------------------------- Comment (by russellm):
If you read up on the history of the original bug, the change to avoid the source attribute was done specifically to support non-Django template languages (in particular Jinja2), and to avoid clashes with other libraries (like PyXML) that use a source attribute but have nothing to do with the templating system. So - we're not going to simply revert here. However, I agree that a simple type check isn't ideal -- [and I've http://groups.google.com/group/django- developers/browse_thread/thread/2a1901c961847e06 said as much on django- dev]. Patches implementing a more sophisticated approach to template exception handling are welcome. -- Ticket URL: <http://code.djangoproject.com/ticket/12995#comment:3> 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-upda...@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.