STINNER Victor <[email protected]> added the comment:

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.

----------

_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue43510>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to