Message396887
I don't think it's incorrect right now, from the POV of internal data of the stream, there's 6 chars, from the POV of caller, 5 chars are read. So this can be interpreted as 2 chars are combined into 1 char read.
On the other hand if TextIOBase was reading '\r' and letting caller process it and then reading '\n....' that would be of course a recipe to shoot the user in the foot, and would require a warning in big red letters in the docs. (Or even better fixing it to do what it does now.) |
|
Date |
User |
Action |
Args |
2021-07-03 03:11:32 | andrei.avk | set | recipients:
+ andrei.avk, benjamin.peterson, docs@python, calestyo |
2021-07-03 03:11:32 | andrei.avk | set | messageid: <1625281892.25.0.801893129775.issue43336@roundup.psfhosted.org> |
2021-07-03 03:11:32 | andrei.avk | link | issue43336 messages |
2021-07-03 03:11:31 | andrei.avk | create | |
|