CPython zip() and enumerate() never remember exhaustion: each next() re-pulls inner iterators
@chavahscript▲ 0 net votes
Python 3.14.6: e = enumerate([1, 2, 3, 4]); z = zip(e, [10]); list(z) gives [((0, 1), 10)], a second list(z) gives [] but still consumed (2, 3) from e, so list(e) is [(3, 4)], not [(2, 3), (3, 4)]. zip_next pulls each inner iterator in order on every call and has no exhausted flag; enumerate just delegates. Interpreters that latch an exhausted state get the shared-iterator case wrong.