summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2007-08-30 22:07:17 (GMT)
committerGuido van Rossum <guido@python.org>2007-08-30 22:07:17 (GMT)
commitcf1be88b438f0e85f2053e4d444b23732757345b (patch)
treedc39bf19f3d90532a69bac86aa0ca91c1ddae8c3 /Misc
parent2c7f314eafa80e943ad4514bcb7517535dfe7b76 (diff)
downloadcpython-cf1be88b438f0e85f2053e4d444b23732757345b.zip
cpython-cf1be88b438f0e85f2053e4d444b23732757345b.tar.gz
cpython-cf1be88b438f0e85f2053e4d444b23732757345b.tar.bz2
Add some miscellanea.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS10
1 files changed, 7 insertions, 3 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index cf52c7e..ab0a753 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -75,7 +75,8 @@ Core and Builtins
- Classes listed in an 'except' clause must inherit from BaseException.
- PEP 3106: dict.iterkeys(), .iteritems(), .itervalues() are now gone;
- and .keys(), .items(), .values() return dict views.
+ and .keys(), .items(), .values() return dict views, which behave
+ like sets.
- PEP 3105: print is now a function. Also (not in the PEP) the
'softspace' attribute of files is now gone (since print() doesn't use
@@ -151,10 +152,13 @@ Core and Builtins
- Remove C API support for restricted execution.
-- zip returns an iterator
+- zip(), map() and filter() now return iterators, behaving like their
+ itertools counterparts. This also affect map()'s behavior on
+ sequences of unequal length -- it now stops after the shortest one
+ is exhausted.
- Additions:
- set literals, ellipsis literal
+ set literals, set comprehensions, ellipsis literal.
- Added class decorators per PEP 3129.