Message373203
`io.TextIOWrapper.write()` returns the length of the passed string instead of the actually written number of characters.
% python -u -c "import sys; print(sys.stdout.write('x'*4294967296), file=sys.stderr)" | wc -c
4294967296
2147479552
So the possibility "users of `io.TextIOWrapper` call `write()` until all characters have been written" would not be sufficient. |
|
Date |
User |
Action |
Args |
2020-07-07 03:05:32 | mjacob | set | recipients:
+ mjacob, vstinner |
2020-07-07 03:05:32 | mjacob | set | messageid: <1594091132.11.0.406400960283.issue41221@roundup.psfhosted.org> |
2020-07-07 03:05:32 | mjacob | link | issue41221 messages |
2020-07-07 03:05:31 | mjacob | create | |
|