This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients ncoghlan, serhiy.storchaka
Date 2021-02-05.17:49:28
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1612547368.71.0.756669505682.issue43133@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2021-02-05 17:49:28serhiy.storchakasetrecipients: + serhiy.storchaka, ncoghlan
2021-02-05 17:49:28serhiy.storchakasetmessageid: <1612547368.71.0.756669505682.issue43133@roundup.psfhosted.org>
2021-02-05 17:49:28serhiy.storchakalinkissue43133 messages
2021-02-05 17:49:28serhiy.storchakacreate