Vinay Rao added the comment:
Oh, and write_bytes would have to go thorough the same modification to make
them consistent.
--
___
Python tracker
<https://bugs.python.org/issue36
Vinay Rao added the comment:
Upon reading the issue threads linked by @xtreak, I have changed my mind and
think this is a bad idea.
1) It adds more to maintain without offering much benefit (the use case of the
shortcut is probably quite rare)
2) The argument 'mode' only acc
New submission from Vinay Rao :
- 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