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 lemburg
Recipients eryksun, lemburg, methane, vstinner
Date 2021-03-31.09:36:33
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <2792baf8-4bbb-4243-9247-3cd826a6cd9e@egenix.com>
In-reply-to <1617183053.61.0.856018243719.issue43510@roundup.psfhosted.org>
Content
On 31.03.2021 11:30, STINNER Victor wrote:
> 
> To me, it sounds really weird to accept an encoding when a file is opened in binary mode. open(filename, "rb", encoding="locale") looks like a bug.

Same here.

If encoding is used as an argument and then not used, this is a bug,
not a feature :-)
History
Date User Action Args
2021-03-31 09:36:33lemburgsetrecipients: + lemburg, vstinner, methane, eryksun
2021-03-31 09:36:33lemburglinkissue43510 messages
2021-03-31 09:36:33lemburgcreate