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 ztane
Recipients hathawsh, martin.panter, r.david.murray, vstinner, ztane
Date 2016-08-21.07:23:29
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1471764209.72.0.86299969274.issue27805@psf.upfronthosting.co.za>
In-reply-to
Content
Yeah, it definitely is a bug in CPython. open(mode='a') should always append to the end of the given file. 

If you're writing an append-only text log to some file-like object, that's the mode you use, not some version/platform/filesystem specific voodoo to find out what's the least incorrect way to work around Python implementation deficiencies.
History
Date User Action Args
2016-08-21 07:23:29ztanesetrecipients: + ztane, hathawsh, vstinner, r.david.murray, martin.panter
2016-08-21 07:23:29ztanesetmessageid: <1471764209.72.0.86299969274.issue27805@psf.upfronthosting.co.za>
2016-08-21 07:23:29ztanelinkissue27805 messages
2016-08-21 07:23:29ztanecreate