[issue13056] test_multibytecodec.py:TestStreamWriter is skipped after PEP393

2013-04-11 Thread Ezio Melotti
Changes by Ezio Melotti : -- resolution: -> fixed stage: needs patch -> committed/rejected status: open -> closed versions: -Python 3.3 ___ Python tracker ___ _

[issue13056] test_multibytecodec.py:TestStreamWriter is skipped after PEP393

2013-04-11 Thread STINNER Victor
STINNER Victor added the comment: CJK decoders use the new Unicode API since the changeset bcecf3910162. "I think these tests have no sense after PEP393. They tests that StreamWriter works with non-BMP characters broken inside surrogate pair. I.e. c.write(s[:i]); c.write(s[i:]) always is same

[issue13056] test_multibytecodec.py:TestStreamWriter is skipped after PEP393

2013-04-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset 78cd09d2f908 by Victor Stinner in branch 'default': Issue #13056: Reenable test_multibytecodec.Test_StreamWriter tests http://hg.python.org/cpython/rev/78cd09d2f908 -- nosy: +python-dev ___ Python tracker

[issue13056] test_multibytecodec.py:TestStreamWriter is skipped after PEP393

2013-03-14 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I think these tests have no sense after PEP393. They tests that StreamWriter works with non-BMP characters broken inside surrogate pair. I.e. c.write(s[:i]); c.write(s[i:]) always is same as c.write(s), even if i breaks s inside a surrogate pair. This case i

[issue13056] test_multibytecodec.py:TestStreamWriter is skipped after PEP393

2013-03-13 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +serhiy.storchaka versions: +Python 3.4 ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue13056] test_multibytecodec.py:TestStreamWriter is skipped after PEP393

2012-09-26 Thread STINNER Victor
STINNER Victor added the comment: > Victor, do you know if multibytecodec has been ported to the new API yet? No, it has no. CJK codecs still use the legacy API (Py_UNICODE). -- ___ Python tracker

[issue13056] test_multibytecodec.py:TestStreamWriter is skipped after PEP393

2012-09-26 Thread Ezio Melotti
Ezio Melotti added the comment: Victor, do you know if multibytecodec has been ported to the new API yet? If I removed the "if", I still get a failure. test test_multibytecodec failed -- Traceback (most recent call last): File "/home/wolf/dev/py/py3k/Lib/test/test_multibytecodec.py", line 187,

[issue13056] test_multibytecodec.py:TestStreamWriter is skipped after PEP393

2011-09-28 Thread STINNER Victor
Changes by STINNER Victor : -- components: +Unicode ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[issue13056] test_multibytecodec.py:TestStreamWriter is skipped after PEP393

2011-09-28 Thread Ezio Melotti
New submission from Ezio Melotti : The test at Lib/test/test_multibytecodec.py:178 checks for len('\U00012345') == 2, and with PEP393 this is always False. I tried to run the tests with a few changes and they seem to work, but the code doesn't raise any exception on c.reset(): >8>8