Message335117
Looking over the changelog, my guess (untested) is this is caused by commit d6a283b3 for Issue 25862. That change looks like it drops the internal TextIOWrapper decoding buffer for each successful write.
I don't have the right version of Python to test with, but I expect this to also be broken without using a socket:
>>> f = TextIOWrapper(BufferedRWPair(BytesIO(b"Hello\nYou\n"), BytesIO()))
>>> f.readline()
'Hello\n'
>>> f.write(_)
6
>>> f.readline() # Does this now return EOF?
'You\n' |
|
Date |
User |
Action |
Args |
2019-02-08 23:13:01 | martin.panter | set | recipients:
+ martin.panter, pravn |
2019-02-08 23:12:59 | martin.panter | set | messageid: <1549667579.5.0.379583614473.issue35928@roundup.psfhosted.org> |
2019-02-08 23:12:59 | martin.panter | link | issue35928 messages |
2019-02-08 23:12:59 | martin.panter | create | |
|