]> 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)
commit26f82efe591a997bcf62111d1776c296f8088623
tree61dc8b3bb00326ce373ec0edb5414b8a825edcf4
parent9cc9026294bfd2b65e5a66a455f4982e8b3dbce7
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