[issue10931] print() from pipe enclosed between {b'} and {'}-pair on python3

Amaury Forgeot d'Arc report at bugs.python.org
Tue Jan 18 14:19:34 CET 2011


Amaury Forgeot d'Arc <amauryfa at gmail.com> added the comment:

It's a feature. Subprocess output is binary data, not text; and since python3, the string type is now what python2 called unicode!

Please read http://docs.python.org/py3k/whatsnew/3.0.html#text-vs-data-instead-of-unicode-vs-8-bit
for an explanation of the most important difference between python2 and python3.

----------
nosy: +amaury.forgeotdarc
resolution:  -> invalid
status: open -> closed

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10931>
_______________________________________


More information about the Python-bugs-list mailing list