]> granicus.if.org Git - python/commit
- PEP 3106: dict.iterkeys(), .iteritems(), .itervalues() are now gone;
authorGuido van Rossum <guido@python.org>
Sun, 11 Feb 2007 06:12:03 +0000 (06:12 +0000)
committerGuido van Rossum <guido@python.org>
Sun, 11 Feb 2007 06:12:03 +0000 (06:12 +0000)
commitcc2b0161257495f859200bce0aea3ed7e646feb3
treeba09aba0de6447bef5be59b43fb86d17d760833d
parent4e66dfcdc495218ad5f98b12ad6b4b2b05630ab0
- PEP 3106: dict.iterkeys(), .iteritems(), .itervalues() are now gone;
  and .keys(), .items(), .values() return dict views.

The dict views aren't fully functional yet; in particular, they can't
be compared to sets yet.  but they are useful as "iterator wells".

There are still 27 failing unit tests; I expect that many of these
have fairly trivial fixes, but there are so many, I could use help.
73 files changed:
Include/abstract.h
Lib/ConfigParser.py
Lib/Cookie.py
Lib/UserDict.py
Lib/_LWPCookieJar.py
Lib/_strptime.py
Lib/_threading_local.py
Lib/base64.py
Lib/compiler/ast.py
Lib/compiler/misc.py
Lib/compiler/pyassem.py
Lib/cookielib.py
Lib/copy.py
Lib/csv.py
Lib/ctypes/test/__init__.py
Lib/difflib.py
Lib/distutils/sysconfig.py
Lib/dumbdbm.py
Lib/encodings/punycode.py
Lib/filecmp.py
Lib/htmlentitydefs.py
Lib/httplib.py
Lib/mailbox.py
Lib/mailcap.py
Lib/mhlib.py
Lib/pickle.py
Lib/profile.py
Lib/pstats.py
Lib/pyclbr.py
Lib/rfc822.py
Lib/shelve.py
Lib/symbol.py
Lib/symtable.py
Lib/test/fork_wait.py
Lib/test/mapping_tests.py
Lib/test/pickletester.py
Lib/test/string_tests.py
Lib/test/test_anydbm.py
Lib/test/test_array.py
Lib/test/test_bsddb.py
Lib/test/test_builtin.py
Lib/test/test_cfgparser.py
Lib/test/test_cgi.py
Lib/test/test_compile.py
Lib/test/test_cookie.py
Lib/test/test_copy.py
Lib/test/test_descr.py
Lib/test/test_dictviews.py
Lib/test/test_iter.py
Lib/test/test_iterlen.py
Lib/test/test_itertools.py
Lib/test/test_mailbox.py
Lib/test/test_mhlib.py
Lib/test/test_richcmp.py
Lib/test/test_site.py
Lib/test/test_support.py
Lib/test/test_urllib2.py
Lib/test/test_userdict.py
Lib/test/test_uuid.py
Lib/test/test_weakref.py
Lib/test/test_xmlrpc.py
Lib/threading.py
Lib/token.py
Lib/trace.py
Lib/urllib2.py
Lib/weakref.py
Lib/xml/etree/ElementTree.py
Misc/NEWS
Modules/cPickle.c
Modules/collectionsmodule.c
Objects/abstract.c
Objects/dictobject.c
Objects/typeobject.c