From: Antoine Pitrou Date: Thu, 12 May 2011 22:25:53 +0000 (+0200) Subject: Issue #12062: Fix a flushing bug when doing a certain type of I/O sequence X-Git-Tag: v3.3.0a1~2295 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b89b31a1588b78f9c08ed8b4f5519571c2a44a42;p=python Issue #12062: Fix a flushing bug when doing a certain type of I/O sequence on a file opened in read+write mode (namely: reading, seeking a bit forward, writing, then seeking before the previous write but still within buffered data, and writing again). --- b89b31a1588b78f9c08ed8b4f5519571c2a44a42 diff --cc Misc/NEWS index 751f1e307c,6b0a6b50f8..620d3d66ab --- a/Misc/NEWS +++ b/Misc/NEWS @@@ -147,9 -90,11 +147,14 @@@ Core and Builtin Library ------- + - Issue #12062: Fix a flushing bug when doing a certain type of I/O sequence + on a file opened in read+write mode (namely: reading, seeking a bit forward, + writing, then seeking before the previous write but still within buffered + data, and writing again). + +- Issue #9971: Write an optimized implementation of BufferedReader.readinto(). + Patch by John O'Connor. + - Issue #1028: Tk returns invalid Unicode null in %A: UnicodeDecodeError. With Tk < 8.5 _tkinter.c:PythonCmd() raised UnicodeDecodeError, caused IDLE to exit. Converted to valid Unicode null in PythonCmd().