]> granicus.if.org Git - python/commitdiff
Issue #22854: Merge UnsupportedOperation fixes from 3.5
authorMartin Panter <vadmium+py@gmail.com>
Thu, 31 Mar 2016 08:25:59 +0000 (08:25 +0000)
committerMartin Panter <vadmium+py@gmail.com>
Thu, 31 Mar 2016 08:25:59 +0000 (08:25 +0000)
1  2 
Lib/_pyio.py
Lib/test/test_io.py
Misc/NEWS
Modules/_io/bufferedio.c
Modules/_io/iobase.c

diff --cc Lib/_pyio.py
Simple merge
Simple merge
diff --cc Misc/NEWS
index 6b6d11caa39912be3d0f2f86d0043de3a521894d,e2e37a4064ad62beee6a2d258d4a6c848e899fff..64977018f66f316766ff26c29e2ff1bf9dbb0550
+++ b/Misc/NEWS
@@@ -237,14 -98,10 +237,17 @@@ Core and Builtin
  Library
  -------
  
+ - Issue #22854: Change BufferedReader.writable() and
+   BufferedWriter.readable() to always return False.
 +- Issue #26492: Exhausted iterator of array.array now conforms with the behavior
 +  of iterators of other mutable sequences: it lefts exhausted even if iterated
 +  array is extended.
 +
 +- Issue #26641: doctest.DocFileTest and doctest.testfile() now support
 +  packages (module splitted into multiple directories) for the package
 +  parameter.
 +
  - Issue #25195: Fix a regression in mock.MagicMock. _Call is a subclass of
    tuple (changeset 3603bae63c13 only works for classes) so we need to
    implement __ne__ ourselves.  Patch by Andrew Plummer.
Simple merge
Simple merge