[issue19977] Use "surrogateescape" error handler for sys.stdin and sys.stdout on UNIX for the C locale

Antoine Pitrou report at bugs.python.org
Mon Apr 28 19:13:17 CEST 2014


Antoine Pitrou added the comment:

> The conclusion I have come to is that any further decoupling of Python 3
> from the locale encoding will actually depend on getting the PEP 432
> bootstrapping changes implemented, reviewed and the PEP approved, so we
> have more interpreter infrastructure in place by the time the interpreter
> starts trying to figure out all these boundary encoding issues.

Yeah. My proposal had more to do with the fact that we should some day
switch to utf-8 by default on all POSIX systems, regardless of what the
system advertises as "best encoding".

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue19977>
_______________________________________


More information about the Python-bugs-list mailing list