diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2014-04-29 10:13:46 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2014-04-29 10:13:46 (GMT) |
commit | 26f82efe591a997bcf62111d1776c296f8088623 (patch) | |
tree | 61dc8b3bb00326ce373ec0edb5414b8a825edcf4 /Misc | |
parent | 9cc9026294bfd2b65e5a66a455f4982e8b3dbce7 (diff) | |
download | cpython-26f82efe591a997bcf62111d1776c296f8088623.zip cpython-26f82efe591a997bcf62111d1776c296f8088623.tar.gz cpython-26f82efe591a997bcf62111d1776c296f8088623.tar.bz2 |
Issue #21321: itertools.islice() now releases the reference to the source iterator when the slice is exhausted.
Patch by Anton Afanasyev.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/ACKS | 1 | ||||
-rw-r--r-- | Misc/NEWS | 3 |
2 files changed, 4 insertions, 0 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. |