[issue7922] Python 3's 2to3 does not handle non-ascii source files

2010-02-12 Thread Benjamin Peterson
Benjamin Peterson added the comment: You can just use the --no-diffs option, btw, to avoid this problem on earlier versions. -- ___ Python tracker ___ __

[issue7922] Python 3's 2to3 does not handle non-ascii source files

2010-02-12 Thread Benjamin Peterson
Changes by Benjamin Peterson : -- resolution: -> out of date status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailin

[issue7922] Python 3's 2to3 does not handle non-ascii source files

2010-02-12 Thread Benjamin Peterson
Benjamin Peterson added the comment: 2010/2/12 mike bayer : > > mike bayer added the comment: > > yes, its handled: > > WARNING: couldn't encode test.py's diff for your terminal > > is that fix specific to 2to3 or is that just how "print" works in 3.2 ? It's just that whatever python guesses y

[issue7922] Python 3's 2to3 does not handle non-ascii source files

2010-02-12 Thread mike bayer
mike bayer added the comment: yes, its handled: WARNING: couldn't encode test.py's diff for your terminal is that fix specific to 2to3 or is that just how "print" works in 3.2 ? -- ___ Python tracker

[issue7922] Python 3's 2to3 does not handle non-ascii source files

2010-02-12 Thread Benjamin Peterson
Benjamin Peterson added the comment: Sorry, I meant from the py3k branch. -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue7922] Python 3's 2to3 does not handle non-ascii source files

2010-02-12 Thread Benjamin Peterson
Benjamin Peterson added the comment: Please try 2to3 from 2.7a3 or the 2to3 trunk. -- nosy: +benjamin.peterson ___ Python tracker ___

[issue7922] Python 3's 2to3 does not handle non-ascii source files

2010-02-12 Thread mike bayer
New submission from mike bayer : given the following Python 2 source file: # -*- encoding: utf-8 print 'bien mangé' It can be converted to Python 3 using 2's 2to3 tool: classic$ 2to3 test.py ... omitted ... --- test.py (original) +++ test.py (refactored) @@ -1,3 +