Issue #21321: itertools.islice() now releases the reference to the source iterator when the slice is exhausted.

Patch by Anton Afanasyev.
This commit is contained in:
Antoine Pitrou 2014-04-29 12:14:47 +02:00
commit 32497f89bb
4 changed files with 37 additions and 5 deletions

View file

@ -17,6 +17,7 @@ Rajiv Abraham
David Abrahams
Marc Abramowitz
Ron Adam
Anton Afanasyev
Ali Afshar
Nitika Agarwal
Jim Ahlstrom

View file

@ -60,6 +60,9 @@ Core and Builtins
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.