Generalize zip() to work with iterators.
NEEDS DOC CHANGES.
More AttributeErrors transmuted into TypeErrors, in test_b2.py, and,
again, this strikes me as a good thing.
This checkin completes the iterator generalization work that obviously
needed to be done. Can anyone think of others that should be changed?
diff --git a/Misc/NEWS b/Misc/NEWS
index aecc5e9..1f971cd 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -17,17 +17,13 @@
- The following functions were generalized to work nicely with iterator
arguments:
- filter()
- list()
- map()
- max()
- min()
- reduce()
- tuple() (PySequence_Tuple() and PySequence_Fast() in C API)
+ map(), filter(), reduce()
+ list(), tuple() (PySequence_Tuple() and PySequence_Fast() in C API)
+ max(), min()
+ zip()
.join() method of strings
'x in y' and 'x not in y' (PySequence_Contains() in C API)
operator.countOf() (PySequence_Count() in C API)
- XXX TODO zip()
What's New in Python 2.1 (final)?