From: Martin Panter Date: Thu, 31 Mar 2016 08:25:59 +0000 (+0000) Subject: Issue #22854: Merge UnsupportedOperation fixes from 3.5 X-Git-Tag: v3.6.0a1~291 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=047f3b737608c799764f5e7d083764f42c9a1b42;p=thirdparty%2FPython%2Fcpython.git Issue #22854: Merge UnsupportedOperation fixes from 3.5 --- 047f3b737608c799764f5e7d083764f42c9a1b42 diff --cc Misc/NEWS index 6b6d11caa399,e2e37a4064ad..64977018f66f --- a/Misc/NEWS +++ 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.