mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
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:
commit
32497f89bb
4 changed files with 37 additions and 5 deletions
|
@ -17,6 +17,7 @@ Rajiv Abraham
|
|||
David Abrahams
|
||||
Marc Abramowitz
|
||||
Ron Adam
|
||||
Anton Afanasyev
|
||||
Ali Afshar
|
||||
Nitika Agarwal
|
||||
Jim Ahlstrom
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue