[issue4329] base64 does not properly handle unicode strings
Terry J. Reedy
report at bugs.python.org
Wed Nov 26 16:22:15 CET 2008
Terry J. Reedy <tjreedy at udel.edu> added the comment:
2.6 is, as far as I know, intended to be backwards compatible except for
where it fixes bugs. Upgrading to 2.6 does (should) not change strings
(type str) to unicode. Only importing the appropriate __future__ or
upgrading to 3.0 will do that. I have no idea what Django does.
The 3 lines of code you posted gives exactly the same traceback in my
copy of 2.5 as the one you posted.
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4329>
_______________________________________
More information about the Python-bugs-list
mailing list