Ethan Furman added the comment: The recipe will work in simple situations.
In more complex situations: - infinite iterator - really large iterator (millions of items) - high work load to produce next iteration the recipe will either have a severe impact on performance or fail entirely. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue24195> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com