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 erik.bray
Recipients erik.bray, neologix, pitrou, r.david.murray, vstinner
Date 2013-08-29.22:11:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1377814262.19.0.989413216382.issue18876@psf.upfronthosting.co.za>
In-reply-to
Content
Here's an initial stab at a simple patch that just addresses the issue of 'append' not being in the mode string.  Amazingly this did not break a single existing test, though I added a new one to test how FileIO objects display their mode string after being initialized (normalizes modes like 'r+b' to 'rb+', etc.)  Most of what it tests is the existing behavior, but it also tests for the reintroduction of the 'a' mode.

This doesn't address the BufferedWriter issue, nor does it address cross-platform issues.
History
Date User Action Args
2013-08-29 22:11:02erik.braysetrecipients: + erik.bray, pitrou, vstinner, r.david.murray, neologix
2013-08-29 22:11:02erik.braysetmessageid: <1377814262.19.0.989413216382.issue18876@psf.upfronthosting.co.za>
2013-08-29 22:11:02erik.braylinkissue18876 messages
2013-08-29 22:11:02erik.braycreate