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 vstinner
Recipients nicksjacobson, pitrou, steve.dower, tim.golden, vstinner, zach.ware
Date 2014-10-16.08:11:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1413447109.67.0.114247103852.issue22651@psf.upfronthosting.co.za>
In-reply-to
Content
Oh, fopen() behaves differently between "a" and "a+" mode on Linux: "a" goes to the end, "a+" doesn't. It looks like a bug in the C library, or a bug in the documentation?
"a+ mode:
Open for reading and appending (writing at end of file)"
http://linux.die.net/man/3/fopen

open() of Python 3 and io.open() of Python 2 and Python 3 behaves "correctly": "a" and "a+" modes go to the end.
History
Date User Action Args
2014-10-16 08:11:49vstinnersetrecipients: + vstinner, pitrou, tim.golden, zach.ware, steve.dower, nicksjacobson
2014-10-16 08:11:49vstinnersetmessageid: <1413447109.67.0.114247103852.issue22651@psf.upfronthosting.co.za>
2014-10-16 08:11:49vstinnerlinkissue22651 messages
2014-10-16 08:11:49vstinnercreate