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

Collin Winter report at bugs.python.org
Sat Apr 19 23:48:49 CEST 2008


Collin Winter <collinw at gmail.com> added the comment:

2to3 running under Python 2.5.1 handles this file just fine. 2to3
running under 3.0a4+ (r62404) fails as detailed below. However, that
file doesn't run correctly under Python itself:

collinwinter at Silves:~/src/python/py3k$ ./python
/home/collinwinter/Desktop/2to3bug.py 
  File "/home/collinwinter/Desktop/2to3bug.py", line 3
    collinwinter at Silves:~/src/python/py3k

This suggests this problem isn't 2to3-specific. Refiling this issue
against py3k's Unicode support.

----------
assignee: collinwinter -> 
components: +Unicode -2to3 (2.x to 3.0 conversion tool)
priority:  -> high

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


More information about the Python-bugs-list mailing list