New submission from Vinay Rao <vinayluz...@gmail.com>:
- Default should be 'w' for compatibility. - There should be a check that makes sure mode is either 'w' or 'a', or else raise ValueError. ---------- components: Library (Lib) messages: 337097 nosy: vinayluzrao priority: normal severity: normal status: open title: Add mode parameter to PurePath.write_text to allow for 'a' mode type: enhancement versions: Python 3.8 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue36181> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com