]> granicus.if.org Git - python/commit
Issue #21321: itertools.islice() now releases the reference to the source iterator...
authorAntoine Pitrou <solipsis@pitrou.net>
Tue, 29 Apr 2014 10:13:46 +0000 (12:13 +0200)
committerAntoine Pitrou <solipsis@pitrou.net>
Tue, 29 Apr 2014 10:13:46 +0000 (12:13 +0200)
commit3ec903fce4c8f8f97a74b15e8a5f5599da759bc9
tree5a71da2c8e804cbaef051fc723dbc0e9967c09df
parentf3ae10e7ca9cf14299419c2c07678c7365e4b72e
Issue #21321: itertools.islice() now releases the reference to the source iterator when the slice is exhausted.

Patch by Anton Afanasyev.
Lib/test/test_itertools.py
Misc/ACKS
Misc/NEWS
Modules/itertoolsmodule.c