#5046: views/debug.py: Display string of UnicodeError -------------------------------------+------------------------------------- Reporter: Thomas Güttler | Owner: Adrian <hv@…> | Holovaty Type: | Status: closed Cleanup/optimization | Component: Error reporting | Version: master Severity: Normal | Resolution: fixed Keywords: unicode | Triage Stage: Ready for | checkin Has patch: 1 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 -------------------------------------+------------------------------------- Changes (by Tim Graham):
* type: => Cleanup/optimization * ui_ux: => 0 * component: Metasystem => Error reporting * severity: => Normal * easy: => 0 Comment: 10 years later, I noticed these lines aren't tested. I'm not sure if this feature is still needed in a Python 3-only world as I'd think the problematic string would appear in the " Local vars" section of the traceback but there aren't steps to reproduce so perhaps you could give an insight if you remember anything about the original issue, Thomas? In case the feature in still useful, I made a [https://github.com/django/django/pull/8834 PR] to add a test. -- Ticket URL: <https://code.djangoproject.com/ticket/5046#comment:8> 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 django-updates+unsubscr...@googlegroups.com. To post to this group, send email to django-updates@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/089.f969c899edf4bb6691b68e9380e68979%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.