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 terry.reedy
Recipients curioswati, lac, r.david.murray, serhiy.storchaka, terry.reedy
Date 2016-01-12.07:47:17
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1452584837.61.0.000779852827639.issue25788@psf.upfronthosting.co.za>
In-reply-to
Content
fileinput is in Python, hence the source is in Lib.  Online version is
https://hg.python.org/cpython/file/tip/Lib/fileinput.py
https://hg.python.org/cpython/file/tip/Lib/test/test_fileinput.py

Patching openhook itself looks trivial.  A test is the hard part. Laura, can you provide a test case? -- a short (one line?) file that fails with errors=strict and passes with something else?  A new test_errors method should be added to class Test_hook_encoded (the last testCase in the file).  I think the 'test' method would need revision.
History
Date User Action Args
2016-01-12 07:47:17terry.reedysetrecipients: + terry.reedy, r.david.murray, serhiy.storchaka, lac, curioswati
2016-01-12 07:47:17terry.reedysetmessageid: <1452584837.61.0.000779852827639.issue25788@psf.upfronthosting.co.za>
2016-01-12 07:47:17terry.reedylinkissue25788 messages
2016-01-12 07:47:17terry.reedycreate