消息 [223194]
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:54 | serhiy.storchaka | 修改 | recipients:
+ serhiy.storchaka, lemburg, loewis, jaraco, vstinner, ezio.melotti, r.david.murray |
| 2014-07-16 12:30:54 | serhiy.storchaka | 修改 | messageid: <1405513854.65.0.301347611886.issue21927@psf.upfronthosting.co.za> |
| 2014-07-16 12:30:54 | serhiy.storchaka | 链接 | issue21927 messages |
| 2014-07-16 12:30:54 | serhiy.storchaka | 创建 | |
|