[issue21321] itertools.islice() doesn't release reference to the source iterator when the slice is exhausted

Antoine Pitrou report at bugs.python.org
Sat Apr 26 03:55:17 CEST 2014


Antoine Pitrou added the comment:

Haven't reviewed the patch, but you should definitely add a unit test for the bugfix.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21321>
_______________________________________


More information about the Python-bugs-list mailing list