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 cool-RR
Recipients cjwelborn, cool-RR, pitrou
Date 2014-03-19.23:18:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1395271129.3.0.223333970228.issue20218@psf.upfronthosting.co.za>
In-reply-to
Content
Okay, different approach: How about having a mode argument with a default? (Defaults of 'rb', 'r', 'wb', 'w' respectively.)

This way users who wish to use append, exclusive, or any other future mode will be able to do that, but we won't be adding too many keywords to the API. We could add sanity checks to the `mode` if you wish.
History
Date User Action Args
2014-03-19 23:18:49cool-RRsetrecipients: + cool-RR, pitrou, cjwelborn
2014-03-19 23:18:49cool-RRsetmessageid: <1395271129.3.0.223333970228.issue20218@psf.upfronthosting.co.za>
2014-03-19 23:18:49cool-RRlinkissue20218 messages
2014-03-19 23:18:49cool-RRcreate