New submission from Thomas Nyberg <tomnyb...@gmail.com>:
This came out of the following posts: https://mail.python.org/pipermail/python-ideas/2018-August/052549.html https://mail.python.org/pipermail/python-ideas/2018-August/052553.html Basically my request would be to change the documentation here: https://docs.python.org/3.7/library/pathlib.html#pathlib.Path.read_text I would like to add a note that the underlying file object itself is closed after the read_text() method is called. Maybe I'm just a little dense and it should be obvious that the functionality here would be different than open("filepath").read(), but given that thread I linked, I don't believe I'm the only one. ---------- assignee: docs@python components: Documentation messages: 322947 nosy: docs@python, thomas.nyberg priority: normal severity: normal status: open title: Clarify pathlib.Path("filepath").read_text() _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue34319> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com