summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2001-05-06 01:05:02 (GMT)
committerTim Peters <tim.peters@gmail.com>2001-05-06 01:05:02 (GMT)
commit8572b4fedf7e6ee4cd350680d53cd0a21574b083 (patch)
treed8f3f982d9b35dffb659ec228ae53628bf85a56e /Misc
parentef0c42d4e5d0d7493395b1e3c37fe53dc48a377f (diff)
downloadcpython-8572b4fedf7e6ee4cd350680d53cd0a21574b083.zip
cpython-8572b4fedf7e6ee4cd350680d53cd0a21574b083.tar.gz
cpython-8572b4fedf7e6ee4cd350680d53cd0a21574b083.tar.bz2
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?
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS12
1 files changed, 4 insertions, 8 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index aecc5e9..1f971cd 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -17,17 +17,13 @@ Core
- 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)?