]> granicus.if.org Git - python/commit
Issue #5008: When a file is opened in append mode with the new IO library,
authorAntoine Pitrou <solipsis@pitrou.net>
Wed, 21 Jan 2009 00:45:36 +0000 (00:45 +0000)
committerAntoine Pitrou <solipsis@pitrou.net>
Wed, 21 Jan 2009 00:45:36 +0000 (00:45 +0000)
commite741cc607c226c76fef473bf772d42fc63269b9b
treec7914f5e141059584cfc3ebea80b01009bb0ad3d
parentacdc84abcf106e4178d18363b899d0f4218008f4
Issue #5008: When a file is opened in append mode with the new IO library,
do an explicit seek to the end of file (so that e.g. tell() returns the
file size rather than 0). This is consistent with the behaviour of the
traditional 2.x file object.
Lib/test/test_io.py
Misc/NEWS
Modules/_fileio.c