STINNER Victor victor.stin...@haypocalc.com 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
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
versions: +Python 3.2 -Python 3.0
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5640
___
___
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
priority: - normal
stage: needs patch - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5640
___
Walter Dörwald wal...@livinglogic.de added the comment:
Indeed this patch does fix the bug. Go ahead and check it in.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5640
___
Hye-Shik Chang hyes...@gmail.com 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
Hye-Shik Chang hyes...@gmail.com added the comment:
Sorry. I just found that the fix breaks few other test units.
I'll check.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5640
___
Hyeshik Chang hyes...@gmail.com 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 rep...@bugs.python.org
Changes by Hyeshik Chang hyes...@gmail.com:
Removed file: http://bugs.python.org/file13572/cjkcodecs-fix-statefulenc.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5640
___
Atsuo Ishimoto ishim...@gembook.org added the comment:
I tested with py3k branch and worked fine. Thank you.
--
versions: +Python 2.6, Python 2.7
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5640
New submission from Atsuo Ishimoto ishim...@gembook.org:
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
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5640
___
___
Python-bugs-list
Walter Dörwald wal...@livinglogic.de 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
12 matches
Mail list logo