diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2009-01-21 00:45:36 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2009-01-21 00:45:36 (GMT) |
commit | e741cc607c226c76fef473bf772d42fc63269b9b (patch) | |
tree | c7914f5e141059584cfc3ebea80b01009bb0ad3d /Misc | |
parent | acdc84abcf106e4178d18363b899d0f4218008f4 (diff) | |
download | cpython-e741cc607c226c76fef473bf772d42fc63269b9b.zip cpython-e741cc607c226c76fef473bf772d42fc63269b9b.tar.gz cpython-e741cc607c226c76fef473bf772d42fc63269b9b.tar.bz2 |
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.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -145,6 +145,11 @@ Core and Builtins Library ------- +- 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. + - Issue #5013: Fixed a bug in FileHandler which occurred when the delay parameter was set. |