Message223194
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)" |
|
Date |
User |
Action |
Args |
2014-07-16 12:30:54 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, lemburg, loewis, jaraco, vstinner, ezio.melotti, r.david.murray |
2014-07-16 12:30:54 | serhiy.storchaka | set | messageid: <1405513854.65.0.301347611886.issue21927@psf.upfronthosting.co.za> |
2014-07-16 12:30:54 | serhiy.storchaka | link | issue21927 messages |
2014-07-16 12:30:54 | serhiy.storchaka | create | |
|