summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2010-01-31 22:47:27 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2010-01-31 22:47:27 (GMT)
commit905a2ffe3e5445925a669ab433521ddb66cf1043 (patch)
treef3a63e9771498b63eebb2797deaede3577695aaf /Misc
parent9b661e6ef636bdd71639befc11e7ce71755f6421 (diff)
downloadcpython-905a2ffe3e5445925a669ab433521ddb66cf1043.zip
cpython-905a2ffe3e5445925a669ab433521ddb66cf1043.tar.gz
cpython-905a2ffe3e5445925a669ab433521ddb66cf1043.tar.bz2
Merged revisions 77890 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r77890 | antoine.pitrou | 2010-01-31 23:26:04 +0100 (dim., 31 janv. 2010) | 7 lines - 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 3ee0d9f..b991960 100644
--- a/Misc/ACKS
+++ b/Misc/ACKS
@@ -123,6 +123,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 0abe5c2..02cdfbe 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -239,6 +239,11 @@ C-API
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.
+
- Issue #7610: Reworked implementation of the internal
:class:`zipfile.ZipExtFile` class used to represent files stored inside
an archive. The new implementation is significantly faster and can