[issue46554] Add append keyword argument to Path.write_text() and Path.write_bytes()

Keelung Yang report at bugs.python.org
Fri Jan 28 07:36:52 EST 2022


Keelung Yang <keelung.yang at flex.com> added the comment:

In file operations, write/modify/append, which one is generic/common? They're all.

Modifying need more then one line code, but write/oppend needn't.

Two lines are bad to readability and readability counts.

How do you determine it's not common enough? There're many kind of users and application scene, and this feature is even not existed.

Should we create a poll both to Python developers and it's users?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue46554>
_______________________________________


More information about the Python-bugs-list mailing list