On Jan 05, 2017, at 05:50 PM, Victor Stinner wrote:

>I guess that all users and most developers are more in the "UNIX mode"
>camp. *If* we want to change the default, I suggest to use the "UNIX
>mode" by default.

FWIW, it seems to be a general and widespread recommendation to always pass
universal_newlines=True to Popen and friends when you only want to deal with
unicode from subprocesses:

    If encoding or errors are specified, or universal_newlines is true, the
    file objects stdin, stdout and stderr will be opened in text mode using
    the encoding and errors specified in the call or the defaults for
    io.TextIOWrapper.

Cheers,
-Barry

Attachment: pgplvA9Q9CyK2.pgp
Description: OpenPGP digital signature

_______________________________________________
Python-ideas mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to