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/2016-September/146105.html below:

[Python-Dev] PEP 528: Change Windows console encoding to UTF-8

[Python-Dev] PEP 528: Change Windows console encoding to UTF-8 [Python-Dev] PEP 528: Change Windows console encoding to UTF-8Adam Bartoš drekin at gmail.com
Sat Sep 3 06:05:02 EDT 2016
>
> The use of an ASCII compatible encoding is required to maintain
> compatibility with code that bypasses the TextIOWrapper and directly
> writes ASCII bytes to the standard streams (for example, [process_stdinreader.py]
> <https://www.python.org/dev/peps/pep-0528/#process-stdinreader-py> ).
> Code that assumes a particular encoding for the standard streams other than
> ASCII will likely break.


Note that for example in IDLE there are sys.std* stream objects that don't
have buffer attribute. I would argue that it is incorrect to suppose that
there is always one.

Adam Bartoš
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20160903/2515be15/attachment.html>
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