commit | 26f82efe591a997bcf62111d1776c296f8088623 | [log] [tgz] |
---|---|---|
author | Antoine Pitrou <solipsis@pitrou.net> | Tue Apr 29 12:13:46 2014 +0200 |
committer | Antoine Pitrou <solipsis@pitrou.net> | Tue Apr 29 12:13:46 2014 +0200 |
tree | 61dc8b3bb00326ce373ec0edb5414b8a825edcf4 | |
parent | 9cc9026294bfd2b65e5a66a455f4982e8b3dbce7 [diff] |
Issue #21321: itertools.islice() now releases the reference to the source iterator when the slice is exhausted. Patch by Anton Afanasyev.