mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +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:
parent
9cc9026294
commit
26f82efe59
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
|
||||
|
|
|
@ -39,6 +39,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 #9815: assertRaises now tries to clear references to local variables
|
||||
in the exception's traceback.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue