Message259347
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. |
|
Date |
User |
Action |
Args |
2016-02-02 00:00:42 | joseph.hackman | set | recipients:
+ joseph.hackman, terry.reedy, r.david.murray, serhiy.storchaka, lac, curioswati |
2016-02-02 00:00:42 | joseph.hackman | set | messageid: <1454371242.13.0.613039917246.issue25788@psf.upfronthosting.co.za> |
2016-02-02 00:00:42 | joseph.hackman | link | issue25788 messages |
2016-02-02 00:00:41 | joseph.hackman | create | |
|