Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | #2621 rename test.test_support to test.support | Benjamin Peterson | 2008-05-20 | 1 | -2/+2 |
| | |||||
* | Make dict.keys() and dict.items() comparable to sets, using == and !=. | Guido van Rossum | 2007-02-12 | 1 | -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 Rossum | 2007-02-11 | 1 | -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 Rossum | 2007-02-10 | 1 | -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 Rossum | 2007-02-10 | 1 | -0/+3 |
| | |||||
* | Very preliminary work on dict views. | Guido van Rossum | 2007-02-10 | 1 | -0/+25 |