Author joseph.hackman
Recipients curioswati, joseph.hackman, lac, r.david.murray, serhiy.storchaka, terry.reedy
Date 2016-02-02.00:00:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1454371242.13.0.613039917246.issue25788@psf.upfronthosting.co.za>
In-reply-to
Content
I haven't seen OP in over 30 days, so am posting my own patch.

I've added an optional argument that defaults to strict and gets passed along.

I've updated the primary test to verify the argument passing, as well as that things get handled as specified in the documentation at https://docs.python.org/3.5/library/codecs.html

This is off-topic, but is there any way I can submit a patch that allows a similar fix for stdin? Presently there is no way at all to pass malformed unicode through fileinput using stdin that I can find.
History
Date User Action Args
2016-02-02 00:00:42joseph.hackmansetrecipients: + joseph.hackman, terry.reedy, r.david.murray, serhiy.storchaka, lac, curioswati
2016-02-02 00:00:42joseph.hackmansetmessageid: <1454371242.13.0.613039917246.issue25788@psf.upfronthosting.co.za>
2016-02-02 00:00:42joseph.hackmanlinkissue25788 messages
2016-02-02 00:00:41joseph.hackmancreate