[Python-Dev] iterzip()

Greg Ewing greg@cosc.canterbury.ac.nz
Tue, 30 Apr 2002 15:40:10 +1200 (NZST)


barry@zope.com (Barry A. Warsaw):

> I'd much rather see a patch that just changed zip() to be an iterator
> instead of adding an iterzip().

Wouldn't it be better as a lazy sequence a la xrange()
that produces an iterator, rather than being an
iterator itself?

Greg Ewing, Computer Science Dept, +--------------------------------------+
University of Canterbury,	   | A citizen of NewZealandCorp, a	  |
Christchurch, New Zealand	   | wholly-owned subsidiary of USA Inc.  |
greg@cosc.canterbury.ac.nz	   +--------------------------------------+