[issue2660] Py3k fails to parse a file with an iso-8859-1 string

Brandon Ehle report at bugs.python.org
Sun Apr 20 03:38:10 CEST 2008


Brandon Ehle <azverkan at gmail.com> added the comment:

Someone on the #python IRC channel suggested that the default for python
3.0 for unicode string literals is reversed from python 2.5.

If you remove the unicode string literal (u'') from the front of the
string, it runs fine under python 3.0 and fails under 2.5 and 2.6 instead.

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2660>
__________________________________


More information about the Python-bugs-list mailing list