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.

作者 serhiy.storchaka
收信人 ezio.melotti, jaraco, lemburg, loewis, r.david.murray, serhiy.storchaka, vstinner
日期 2014-07-16.12:30:54
SpamBayes Score -1.0
Marked as misclassified
Message-id <1405513854.65.0.301347611886.issue21927@psf.upfronthosting.co.za>
In-reply-to
内容
Bytes repr doesn't contains non-ascii characters, therefore Python is actually receiving a question mark from the pipe.

What are results of following commands?

py -3 -c "import sys; sys.stdout.buffer.write(bytes(range(128, 256)))"

py -3 -c "import sys; sys.stdout.buffer.write(bytes(range(128, 256)))" | py -3 -c "import sys; b = sys.stdin.buffer.read(); print(len(b), b)"
历史
日期 用户 动作 参数
2014-07-16 12:30:54serhiy.storchaka修改recipients: + serhiy.storchaka, lemburg, loewis, jaraco, vstinner, ezio.melotti, r.david.murray
2014-07-16 12:30:54serhiy.storchaka修改messageid: <1405513854.65.0.301347611886.issue21927@psf.upfronthosting.co.za>
2014-07-16 12:30:54serhiy.storchaka链接issue21927 messages
2014-07-16 12:30:54serhiy.storchaka创建