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 calestyo
Recipients benjamin.peterson, calestyo, docs@python
Date 2021-03-17.16:20:32
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1615998032.85.0.931810125273.issue43336@roundup.psfhosted.org>
In-reply-to
Content
I guess that the translation from CRLF to LF simply happens before the size restriction is enforced (which is good so, btw), so effectively it:

will not *read* at most size characters from the stream, but *return* at most size characters from it (with any newlines translated before, and thus more characters read from the stream than returned)
History
Date User Action Args
2021-03-17 16:20:32calestyosetrecipients: + calestyo, benjamin.peterson, docs@python
2021-03-17 16:20:32calestyosetmessageid: <1615998032.85.0.931810125273.issue43336@roundup.psfhosted.org>
2021-03-17 16:20:32calestyolinkissue43336 messages
2021-03-17 16:20:32calestyocreate