This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients ezio.melotti, loewis, python-dev, serhiy.storchaka, vstinner
Date 2013-04-11.20:45:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1365713148.29.0.446427790921.issue13056@psf.upfronthosting.co.za>
In-reply-to
Content
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 as c.write(s), even if i breaks s inside a surrogate pair. This case is impossible after PEP393."

I reenabled tests, but I simplified them to remove parts related to surrogate pairs.

Tests are shorter than before, but it's better than no test at all.

Can I close the issue or someone wants to improve these tests?
History
Date User Action Args
2013-04-11 20:45:48vstinnersetrecipients: + vstinner, loewis, ezio.melotti, python-dev, serhiy.storchaka
2013-04-11 20:45:48vstinnersetmessageid: <1365713148.29.0.446427790921.issue13056@psf.upfronthosting.co.za>
2013-04-11 20:45:48vstinnerlinkissue13056 messages
2013-04-11 20:45:48vstinnercreate