Ronald Oussoren added the comment:

The attached patch explicitly mentions that stdin/stdout/stderr are opened as 
binary streams when universal_newlines is False. 

I'm not convinced that adding this text will solve the confusion, subprocess 
has fairly complex documentation due to the rich API and it is easy to mis 
information when you don't read carefully. That said, the documentation for 
check_output (which is likely the most common way to run a command and fetch 
its output) is already clear about the types of the returned data, both in 
prose and example code.

----------
nosy: +ronaldoussoren
Added file: http://bugs.python.org/file30562/issue17860.txt

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue17860>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to