#18852: Backwards-incompatible change in django.core.signing
-------------------------------------------+------------------------
Reporter: aaugustin | Owner: nobody
Type: Bug | Status: new
Component: Core (Other) | Version: master
Severity: Release blocker | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------------+------------------------
{{{
(django-dev)myk@myk django % git checkout stable/1.4.x
Switched to branch 'stable/1.4.x'
(django-dev)myk@myk django % python
Python 2.7.1 (r271:86832, Jun 16 2011, 16:59:05)
[GCC 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)] on
darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from django.core import signing
>>> signing.b64_encode('foo')
'Zm9v'
>>> ^D
(django-dev)myk@myk django % git checkout master
Switched to branch 'master'
(django-dev)myk@myk django % python
Python 2.7.1 (r271:86832, Jun 16 2011, 16:59:05)
[GCC 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)] on
darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from django.core import signing
>>> signing.b64_encode('foo')
u'Zm9v'
>>> ^D
}}}
A string is returned under 1.4.x, a unicode in master.
--
Ticket URL: <https://code.djangoproject.com/ticket/18852>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit https://groups.google.com/groups/opt_out.