A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2014-March/133272.html below:

[Python-Dev] Python 3.5 now uses surrogateescape for the POSIX locale

[Python-Dev] Python 3.5 now uses surrogateescape for the POSIX locale [Python-Dev] Python 3.5 now uses surrogateescape for the POSIX localeStephen J. Turnbull stephen at xemacs.org
Wed Mar 19 05:35:25 CET 2014
Victor Stinner writes:
 > 2014-03-18 11:02 GMT+01:00 Atsuo Ishimoto <ishimoto at gembook.org>:
 > > FYI: Guido was opposed to change error handler of stdin and
 > > stdout years ago.
 > >
 > > http://bugs.python.org/issue2630#msg65493
 > 
 > This issue proposes to use "backslashreplace" error handler for
 > stdout. This error handler is very different to "surrogateescape"
 > which is related to PEP 383 and used by all OS functions.

I would say, it's not different in the relevant aspect, which is
spewing presumably unreadable bytes that may cause other code reading
the output to choke.  I would think backslashreplace would generally
be preferred for these use cases.

More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4