From: Antoine Pitrou Date: Tue, 29 Apr 2014 10:14:47 +0000 (+0200) Subject: Issue #21321: itertools.islice() now releases the reference to the source iterator... X-Git-Tag: v3.5.0a1~1766 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=32497f89bb6681c5e206c74698cc31c23cfc1b27;p=python Issue #21321: itertools.islice() now releases the reference to the source iterator when the slice is exhausted. Patch by Anton Afanasyev. --- 32497f89bb6681c5e206c74698cc31c23cfc1b27 diff --cc Misc/NEWS index 76df8dfff8,7739bcbe0d..d39775df18 --- a/Misc/NEWS +++ b/Misc/NEWS @@@ -60,17 -39,9 +60,20 @@@ Core and Builtin Library ------- + - Issue #21321: itertools.islice() now releases the reference to the source + iterator when the slice is exhausted. Patch by Anton Afanasyev. + +- Issue #21057: TextIOWrapper now allows the underlying binary stream's + read() or read1() method to return an arbitrary bytes-like object + (such as a memoryview). Patch by Nikolaus Rath. + +- Issue #20951: SSLSocket.send() now raises either SSLWantReadError or + SSLWantWriteError on a non-blocking socket if the operation would block. + Previously, it would return 0. Patch by Nikolaus Rath. + +- Issue #13248: removed previously deprecated asyncore.dispatcher __getattr__ + cheap inheritance hack. + - Issue #9815: assertRaises now tries to clear references to local variables in the exception's traceback.