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 techtonik
Recipients docs@python, techtonik
Date 2013-04-28.14:36:39
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1367159799.26.0.456231833917.issue17860@psf.upfronthosting.co.za>
In-reply-to
Content
http://docs.python.org/3/library/subprocess.html

A common confusion is that result from subprocess calls in Python 3 is bytes, not string, and needs to be converted.

The problem is complicated because you need to know the encoding of input/output streams. This should be documented at least.

http://stackoverflow.com/questions/606191/convert-byte-array-to-python-string
History
Date User Action Args
2013-04-28 14:36:39techtoniksetrecipients: + techtonik, docs@python
2013-04-28 14:36:39techtoniksetmessageid: <1367159799.26.0.456231833917.issue17860@psf.upfronthosting.co.za>
2013-04-28 14:36:39techtoniklinkissue17860 messages
2013-04-28 14:36:39techtonikcreate