diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2010-01-31 22:26:04 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2010-01-31 22:26:04 (GMT) |
commit | f3fa07470381b4f54b2d3f911fc22624e9b0b27d (patch) | |
tree | 5368b993641d34b3824a79896bf18c8f9097ce5c /Misc | |
parent | e70c72c06b169a36170ab68ec52bda9a87c16274 (diff) | |
download | cpython-f3fa07470381b4f54b2d3f911fc22624e9b0b27d.zip cpython-f3fa07470381b4f54b2d3f911fc22624e9b0b27d.tar.gz cpython-f3fa07470381b4f54b2d3f911fc22624e9b0b27d.tar.bz2 |
- Issue #6939: Fix file I/O objects in the `io` module to keep the original
file position when calling `truncate()`. It would previously change the
file position to the given argument, which goes against the tradition of
ftruncate() and other truncation APIs. Patch by Pascal Chambon.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/ACKS | 1 | ||||
-rw-r--r-- | Misc/NEWS | 5 |
2 files changed, 6 insertions, 0 deletions
@@ -124,6 +124,7 @@ Donn Cave Charles Cazabon Per Cederqvist Octavian Cerna +Pascal Chambon Hye-Shik Chang Jeffrey Chang Mitch Chapman @@ -50,6 +50,11 @@ Core and Builtins Library ------- +- Issue #6939: Fix file I/O objects in the `io` module to keep the original + file position when calling `truncate()`. It would previously change the + file position to the given argument, which goes against the tradition of + ftruncate() and other truncation APIs. Patch by Pascal Chambon. + - UserDict is now a new-style class. - Issue #7610: Reworked implementation of the internal |