[issue5640] Wrong print() result when unicode error handler is not 'strict'

2010-05-21 Thread STINNER Victor
STINNER Victor added the comment: Hyeshik Chang commited the fix one year ago in py3k (r71045). I ported the fix to trunk (r81454) and 2.6 (r81456). -- nosy: +haypo resolution: -> fixed status: open -> closed ___ Python tracker

[issue5640] Wrong print() result when unicode error handler is not 'strict'

2010-01-08 Thread Ezio Melotti
Changes by Ezio Melotti : -- versions: +Python 3.2 -Python 3.0 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: h

[issue5640] Wrong print() result when unicode error handler is not 'strict'

2009-11-17 Thread Ezio Melotti
Changes by Ezio Melotti : -- priority: -> normal stage: needs patch -> patch review ___ Python tracker ___ ___ Python-bugs-list mailin

[issue5640] Wrong print() result when unicode error handler is not 'strict'

2009-04-03 Thread Walter Dörwald
Walter Dörwald added the comment: Indeed this patch does fix the bug. Go ahead and check it in. -- ___ Python tracker ___ ___ Python-b

[issue5640] Wrong print() result when unicode error handler is not 'strict'

2009-04-02 Thread Atsuo Ishimoto
Atsuo Ishimoto added the comment: I tested with py3k branch and worked fine. Thank you. -- versions: +Python 2.6, Python 2.7 ___ Python tracker ___ __

[issue5640] Wrong print() result when unicode error handler is not 'strict'

2009-04-02 Thread Hyeshik Chang
Changes by Hyeshik Chang : Removed file: http://bugs.python.org/file13572/cjkcodecs-fix-statefulenc.diff ___ Python tracker ___ ___ Python-bugs

[issue5640] Wrong print() result when unicode error handler is not 'strict'

2009-04-02 Thread Hyeshik Chang
Hyeshik Chang added the comment: Uploaded a revised patch that solved the newer problem. -- Added file: http://bugs.python.org/file13573/cjkcodecs-fix-statefulenc-2.diff ___ Python tracker _

[issue5640] Wrong print() result when unicode error handler is not 'strict'

2009-04-01 Thread Hye-Shik Chang
Hye-Shik Chang added the comment: Sorry. I just found that the fix breaks few other test units. I'll check. -- ___ Python tracker ___

[issue5640] Wrong print() result when unicode error handler is not 'strict'

2009-04-01 Thread Hye-Shik Chang
Hye-Shik Chang added the comment: Right. Here I upload a patch to fix the addressed problem on cjkcodecs. Please test whether the patch corrects the behavior. -- keywords: +patch Added file: http://bugs.python.org/file13572/cjkcodecs-fix-statefulenc.diff ___

[issue5640] Wrong print() result when unicode error handler is not 'strict'

2009-04-01 Thread Walter Dörwald
Walter Dörwald added the comment: I can confirm this problem in the current version in the py3k branch. This seems to be a problem in the CJK codecs. Assigning to Hye Shik Chang. -- assignee: -> hyeshik.chang nosy: +doerwalter, hyeshik.chang stage: -> needs patch ___

[issue5640] Wrong print() result when unicode error handler is not 'strict'

2009-04-01 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

[issue5640] Wrong print() result when unicode error handler is not 'strict'

2009-04-01 Thread Atsuo Ishimoto
New submission from Atsuo Ishimoto : In Python 3(both 3.0.1 and SVN repo), if I set PYTHONIOENCODING=ShiftJIS:backslashreplace, print() outputs wrong result. >>> print("\xff") \xff\xff Obviously, '\xff' should be printed instead of '\xff\xff'. Following is what io module does to print string.