[New-bugs-announce] [issue35870] readline() specification is unclear
report at bugs.python.org
Thu Jan 31 13:13:51 EST 2019
New submission from Victor Porton <porton at narod.ru>:
In https://docs.python.org/3/library/io.html it is forgotten to say whether '\n' is appened to the return value of readline().
It is also unclear what happens if the last line not terminated by '\n' is read.
It is also unclear what is returned if a text file (say with '\r\n' terminators) is read. Is it appended to the return value '\n', '\r\n' or nothing?
assignee: docs at python
nosy: docs at python, porton
title: readline() specification is unclear
versions: Python 3.8
Python tracker <report at bugs.python.org>
More information about the New-bugs-announce