#25720: 1.8.x regression: Py2 gettext() returns unicode for bytestring input
-------------------------------------+-------------------------------------
Reporter: intgr | Owner: nobody
Type: Bug | Status: closed
Component: | Version: 1.8
Internationalization |
Severity: Release blocker | Resolution: fixed
Keywords: regression | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Tim Graham <timograham@…>):
In [changeset:"1eed16b9dbce1b435c329598796c495f6c619428" 1eed16b9]:
{{{
#!CommitTicketReference repository=""
revision="1eed16b9dbce1b435c329598796c495f6c619428"
[1.9.x] Fixed #25720 -- Made gettext() return bytestring on Python 2 if
input is bytestring.
This is consistent with the behavior of Django 1.7.x and earlier.
Backport of d3e3703a15cd9d294406121bc43be0c75b1a4e0e from master
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/25720#comment:7>
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/063.21baee38af710d6d85560352e8ba5354%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.