Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Forward port unit tests for set operation and repr. | Alexandre Vassalotti | 2010-05-04 | 1 | -0/+76 |
| | | | | Patch by Alexander Belopolsky. | ||||
* | use assert[Not]In where appropriate | Benjamin Peterson | 2010-01-19 | 1 | -11/+11 |
| | | | | A patch from Dave Malcolm. | ||||
* | convert old fail* assertions to assert* | Benjamin Peterson | 2009-06-30 | 1 | -11/+11 |
| | |||||
* | #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 |