This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ronaldoussoren
Recipients asvetlov, docs@python, ezio.melotti, r.david.murray, ronaldoussoren, techtonik, tshepang, vstinner
Date 2013-06-12.14:57:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1371049051.09.0.960610724802.issue17860@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2013-06-12 14:57:31ronaldoussorensetrecipients: + ronaldoussoren, vstinner, techtonik, ezio.melotti, r.david.murray, asvetlov, docs@python, tshepang
2013-06-12 14:57:31ronaldoussorensetmessageid: <1371049051.09.0.960610724802.issue17860@psf.upfronthosting.co.za>
2013-06-12 14:57:31ronaldoussorenlinkissue17860 messages
2013-06-12 14:57:30ronaldoussorencreate