commit | 3ec903fce4c8f8f97a74b15e8a5f5599da759bc9 | [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 | 5a71da2c8e804cbaef051fc723dbc0e9967c09df | |
parent | f3ae10e7ca9cf14299419c2c07678c7365e4b72e [diff] |
Issue #21321: itertools.islice() now releases the reference to the source iterator when the slice is exhausted. Patch by Anton Afanasyev.