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

Anton Afanasyev report at bugs.python.org
Mon Apr 21 14:41:36 CEST 2014


Anton Afanasyev added the comment:

Added patch for 2.7 version (no need to change '__reduce__()' method since it's not implemented).

----------
Added file: http://bugs.python.org/file34991/issue21321_2.7_e3217efa6edd.diff

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


More information about the Python-bugs-list mailing list