Message387758
Hey.
It would be nice if the following behaviour could be definitely clarified:
When reading from a text stream with readline(size) with a n > 0size it says: "If size is specified, at most size characters will be read."
Also, depending on the settings of newlines of the stream, \r\n would be converted to \n.
It's not definitely clear whether a string like
"abc\r\n"
read with a size of = 4 will return "abc\n" (which it seems to do, in other words, it reads actually 5 characters, but sill returns only 4), or whether it returns "abc\r".
Cheers,
Chris. |
|
Date |
User |
Action |
Args |
2021-02-27 02:15:37 | calestyo | set | recipients:
+ calestyo, docs@python |
2021-02-27 02:15:37 | calestyo | set | messageid: <1614392137.45.0.448589201829.issue43336@roundup.psfhosted.org> |
2021-02-27 02:15:37 | calestyo | link | issue43336 messages |
2021-02-27 02:15:37 | calestyo | create | |
|