]> granicus.if.org Git - python/commitdiff
Issue #21802: The reader in BufferedRWPair now is closed even when closing
authorSerhiy Storchaka <storchaka@gmail.com>
Tue, 24 Mar 2015 21:23:28 +0000 (23:23 +0200)
committerSerhiy Storchaka <storchaka@gmail.com>
Tue, 24 Mar 2015 21:23:28 +0000 (23:23 +0200)
writer failed in BufferedRWPair.close().

1  2 
Lib/_pyio.py
Lib/test/test_io.py
Misc/NEWS
Modules/_io/bufferedio.c

diff --cc Lib/_pyio.py
Simple merge
Simple merge
diff --cc Misc/NEWS
index c1489983a3cee15cd9ed3893a15d09fc927e2757,fb400038cfcff857f6adffe54638cbba9fa7fdc6..b85eeafe880064de080b3557853608e68b0ace1a
+++ b/Misc/NEWS
@@@ -30,10 -18,9 +30,13 @@@ Core and Builtin
  Library
  -------
  
+ - Issue #21802: The reader in BufferedRWPair now is closed even when closing
+   writer failed in BufferedRWPair.close().
 +- Issue #23622: Unknown escapes in regular expressions that consist of ``'\'``
 +  and ASCII letter now raise a deprecation warning and will be forbidden in
 +  Python 3.6.
 +
  - Issue #23671: string.Template now allows to specify the "self" parameter as
    keyword argument.  string.Formatter now allows to specify the "self" and
    the "format_string" parameters as keyword arguments.
Simple merge