#23522: reverse() should return a text string, not a byte string
-----------------------------+--------------------
Reporter: jdufresne | Owner: nobody
Type: Bug | Status: new
Component: Core (URLs) | Version: master
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 0 | UI/UX: 0
-----------------------------+--------------------
<https://groups.google.com/d/msg/django-
developers/MVpcOtt9oXc/9Qzjv88cMSEJ>
As of now, `reverse()` returns a byte string. It should return a Unicode
string (or text). URLs are used as text in many different contexts: HTML
template, mail, JSON, etc.
Pull request to follow.
--
Ticket URL: <https://code.djangoproject.com/ticket/23522>
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 post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/052.3f448b2c7f7ef062b229fbbdb2bb94e1%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.