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 vstinner
Recipients eryksun, methane, vstinner
Date 2021-03-31.09:30:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <[email protected]>
In-reply-to
Content
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.
History
Date User Action Args
2021-03-31 09:30:53vstinnersetrecipients: + vstinner, methane, eryksun
2021-03-31 09:30:53vstinnersetmessageid: <[email protected]>
2021-03-31 09:30:53vstinnerlinkissue43510 messages
2021-03-31 09:30:53vstinnercreate