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.
........
diff --git a/Misc/NEWS b/Misc/NEWS
index 0abe5c2..02cdfbe 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -239,6 +239,11 @@
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