- 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/ACKS b/Misc/ACKS
index 877c326..3eb9c49 100644
--- a/Misc/ACKS
+++ b/Misc/ACKS
@@ -124,6 +124,7 @@
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 @@
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