Serhiy Storchaka added the comment: Here is a patch (tests included). Thank Pyry for report, Victor and Amaury for analysis.
Maybe I picked up the poor names for iterators? May be exhausted and unexhausted would be better? Feel free to correct me. ---------- keywords: +patch nosy: +serhiy.storchaka stage: test needed -> patch review versions: +Python 3.4 Added file: http://bugs.python.org/file27566/itertools_tee_nonrecursive_clear.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue13454> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com