Message229515
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. |
|
Date |
User |
Action |
Args |
2014-10-16 08:11:49 | vstinner | set | recipients:
+ vstinner, pitrou, tim.golden, zach.ware, steve.dower, nicksjacobson |
2014-10-16 08:11:49 | vstinner | set | messageid: <1413447109.67.0.114247103852.issue22651@psf.upfronthosting.co.za> |
2014-10-16 08:11:49 | vstinner | link | issue22651 messages |
2014-10-16 08:11:49 | vstinner | create | |
|