Anton Afanasyev added the comment: Hi Antoine, oops you are right about leaks: fixed them in new attached patch. As for testing changes in "reduce()": they are already covered by "self.pickletest(islice(range(100), *args))". Function "pickletest()" covers case for pickle dumping/loading of exhausted iterator.
---------- Added file: http://bugs.python.org/file35091/issue21321_3.4_8c8315bac6a8_5.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue21321> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com