Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:

Open modes "r", "r+", "w", "w+", "a", "a+" are supported by C function fopen() 
and similar functions in other languages. Would not "rw" be confusing? Are 
there fopen-like functions in other programming languages which support this 
mode?

Are there any examples in the stdlib which would benefit from this feature? The 
closest that I found is in mailbox and combines "rb+" with "wb+" and "rb", and 
I seen combinations of "rb+" and "xb+" in third-party code, but they are 
different cases.

----------
nosy: +serhiy.storchaka

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue43133>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to