summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2010-01-31 22:26:04 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2010-01-31 22:26:04 (GMT)
commitf3fa07470381b4f54b2d3f911fc22624e9b0b27d (patch)
tree5368b993641d34b3824a79896bf18c8f9097ce5c /Misc
parente70c72c06b169a36170ab68ec52bda9a87c16274 (diff)
downloadcpython-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/ACKS1
-rw-r--r--Misc/NEWS5
2 files changed, 6 insertions, 0 deletions
diff --git a/Misc/ACKS b/Misc/ACKS
index 877c326..3eb9c49 100644
--- a/Misc/ACKS
+++ b/Misc/ACKS
@@ -124,6 +124,7 @@ Donn Cave
Charles Cazabon
Per Cederqvist
Octavian Cerna
+Pascal Chambon
Hye-Shik Chang
Jeffrey Chang
Mitch Chapman
diff --git a/Misc/NEWS b/Misc/NEWS
index fd99685..5f64b8a 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -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