[issue43510] PEP 597: Implemente encoding="locale" option and EncodingWarning

Eryk Sun report at bugs.python.org
Tue Mar 30 10:38:08 EDT 2021


Eryk Sun <eryksun at gmail.com> added the comment:

> I think we should accept `encoding="locale"` even in binary mode.

That's a good idea. It means the same as passing None, except it avoids a warning.

----------
nosy: +eryksun

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue43510>
_______________________________________


More information about the Python-bugs-list mailing list