New submission from Inada Naoki <songofaca...@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 <rep...@bugs.python.org> <https://bugs.python.org/issue39863> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com