[issue39863] Add trimend option to readline() and readlines()
Inada Naoki
report at bugs.python.org
Thu Mar 5 07:37:08 EST 2020
New submission from Inada Naoki <songofacandy at gmail.com>:
str.splitlines() has `keepends` option.
Like that, `IOBase.readline([trimend=False])` and `IOBase.readlines([trimends=False])` would be useful.
----------
components: IO
messages: 363430
nosy: inada.naoki
priority: normal
severity: normal
status: open
title: Add trimend option to readline() and readlines()
versions: Python 3.9
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue39863>
_______________________________________
More information about the Python-bugs-list
mailing list