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 pitrou, r.david.murray, serhiy.storchaka, vstinner
Date 2015-10-14.16:33:57
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
> What could you say about the recent patch Victor?

I'm not sure that it works in all cases. io.TextIOWrapper doesn't care to normalize the encoding name. You should use something like:

   encoding = codecs.lookup(encoding).name

Otherwise, the test can fail if you care one of the various aliases of each encoding. Example: "UTF-8" vs "utf8" vs "utf-8".
Date User Action Args
2015-10-14 16:33:57vstinnersetrecipients: + vstinner, pitrou, r.david.murray, serhiy.storchaka
2015-10-14 16:33:57vstinnersetmessageid: <>
2015-10-14 16:33:57vstinnerlinkissue19058 messages
2015-10-14 16:33:57vstinnercreate