Thanks guys. I was only aware of a limited iterables which themselves are iterators, e.g., the generator.
Seems like its really a pitfall. Any glossary, list on the iterables that *might* exhaust themselves? Regards. -- https://mail.python.org/mailman/listinfo/python-list