summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_dictviews.py
Commit message (Collapse)AuthorAgeFilesLines
* #2621 rename test.test_support to test.supportBenjamin Peterson2008-05-201-2/+2
|
* Make dict.keys() and dict.items() comparable to sets, using == and !=.Guido van Rossum2007-02-121-2/+28
| | | | | (PEP 3106 requires subset comparisons too, those will come later if someone really wants them. :-)
* - PEP 3106: dict.iterkeys(), .iteritems(), .itervalues() are now gone;Guido van Rossum2007-02-111-6/+6
| | | | | | | | | | 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.
* Implement __contains__ for dict_keys and dict_items.Guido van Rossum2007-02-101-0/+22
| | | | | (Not for dict_values, where it can't be done faster than the default implementation which just iterates the elements.)
* Endow dict views with a proper length method.Guido van Rossum2007-02-101-0/+3
|
* Very preliminary work on dict views.Guido van Rossum2007-02-101-0/+25