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

2008-04-19 Thread Brandon Ehle
Brandon Ehle <[EMAIL PROTECTED]> added the comment: Also, I can confirm that running 2to3 with Python 2.6 correctly converts the script but running 2to3 with Python 3.0 results in a UnicodeDecodeError exception. __ Tracker <[EMAIL PROTECTE

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

2008-04-19 Thread Brandon Ehle
Brandon Ehle <[EMAIL PROTECTED]> 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

[issue2660] 2to3 throws a utf8 decode error on a iso-8859-1 string

2008-04-19 Thread Brandon Ehle
New submission from Brandon Ehle <[EMAIL PROTECTED]>: While running the 2to3 script on the scons codebase, I ran into an UnicodeDecodeError. Attached is just the portion of the script that causes the error. 2to3 throws an error on the string regardless of whether the unicode string lite