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 chris.jerdonek, loewis, vstinner
Date 2012-08-09.00:37:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1344472641.79.0.520011002357.issue15595@psf.upfronthosting.co.za>
In-reply-to
Content
> Would you like me to add tests for UTF-16-LE, etc. (via a helper test method), or will UTF-16 alone suffice?

You can use a loop insteadd of an helper function.

I fail to see other encoding having the same issue, except the UTF-32 family (utf-32, utf-32-le, utf-32-be).

I don't think that writing a test for the 6 codecs is required, you can use utf-16 and utf-32-be. So you test without BOM and with BOM, and utf-16 and utf-32.
History
Date User Action Args
2012-08-09 00:37:23vstinnersetrecipients: + vstinner, loewis, chris.jerdonek
2012-08-09 00:37:21vstinnersetmessageid: <1344472641.79.0.520011002357.issue15595@psf.upfronthosting.co.za>
2012-08-09 00:37:21vstinnerlinkissue15595 messages
2012-08-09 00:37:20vstinnercreate