On 04/26/2020 08:56 PM, Christopher Barker wrote:
that seems not very "there's only one way to do it" to me.
The quote is "one obvious way".
It almost feels like the proponents of the new mode/function are hoping to avoid the processing that might need to be "rolled back" in some manner if there is a synchronization problem.
There is no way to "roll back" an iterator, unless you are writing custom ones -- in which case you'll need a custom zip to do the rolling back. -- ~Ethan~ _______________________________________________ Python-ideas mailing list -- python-ideas@python.org To unsubscribe send an email to python-ideas-le...@python.org https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/python-ideas@python.org/message/JZRPXCGRAYIPWGK264YBN7DBIWNIHCZM/ Code of Conduct: http://python.org/psf/codeofconduct/