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.

Author martin.panter
Recipients martin.panter, pravn
Date 2019-02-08.23:12:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1549667579.5.0.379583614473.issue35928@roundup.psfhosted.org>
In-reply-to
Content
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'
History
Date User Action Args
2019-02-08 23:13:01martin.pantersetrecipients: + martin.panter, pravn
2019-02-08 23:12:59martin.pantersetmessageid: <1549667579.5.0.379583614473.issue35928@roundup.psfhosted.org>
2019-02-08 23:12:59martin.panterlinkissue35928 messages
2019-02-08 23:12:59martin.pantercreate