2012/8/4 Chris Jerdonek <chris.jerdo...@gmail.com>:
> On Fri, Aug 3, 2012 at 3:59 PM, antoine.pitrou
> <python-check...@python.org> wrote:
>> http://hg.python.org/cpython/rev/f17a1410ebe5
>> changeset:   78401:f17a1410ebe5
>> summary:
>>   Make TextIOWrapper's documentation clearer by copying the newline 
>> argument's description from open().
>
> Now that this change is made, it may make sense to update the
> subprocess documentation to reference TextIOWrapper's documentation
> instead of open()'s (since use of the 'U' flag to open() is
> discouraged in new code).
>
> "All line endings will be converted to '\n' as described for the
> universal newlines 'U' mode argument to open()."
>
> (from 
> http://docs.python.org/dev/library/subprocess.html#frequently-used-arguments
> )

Good idea, can you please open an issue? The documentation is wrong:
UTF-8 is not used, it's the locale encoding.

Victor
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to