Author methane
Recipients methane
Date 2021-04-03.11:40:57
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1617450057.65.0.948181942157.issue43712@roundup.psfhosted.org>
In-reply-to
Content
fileinput.input() and fileinput.FileInput() don't have `encoding` parameter.

User can specify encoding by `openhook=hook_encoded("utf-8")`. But we can not utilize PEP 597, and `encoding="utf-8"` is more user friendly.

Additionally, `hook_compressed` doesn't have the encoding parameter. User need to use binary mode or locale encoding.
History
Date User Action Args
2021-04-03 11:40:57methanesetrecipients: + methane
2021-04-03 11:40:57methanesetmessageid: <1617450057.65.0.948181942157.issue43712@roundup.psfhosted.org>
2021-04-03 11:40:57methanelinkissue43712 messages
2021-04-03 11:40:57methanecreate