| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Implemented <, <=, >, >= for sets, giving subset and proper-subset | Tim Peters | 2002-08-25 | 1 | -7/+21 |
| | | | | | | | meanings. I did not add new, e.g., ispropersubset() methods; we're going nuts on those, and, e.g., there was no "friendly name" for == either. | ||||
| * | TestSubset(): Generalized the framework to support testing upcoming | Tim Peters | 2002-08-25 | 1 | -10/+23 |
| | | | | | <, <=, etc methods too. | ||||
| * | Rewrote all remaining assert stmts. | Tim Peters | 2002-08-25 | 1 | -30/+30 |
| | | |||||
| * | Simplified construction of the test suite. | Tim Peters | 2002-08-25 | 1 | -21/+23 |
| | | |||||
| * | Simplified code building sets of characters. | Tim Peters | 2002-08-25 | 1 | -5/+5 |
| | | |||||
| * | Ack! Virtually every test here relied on an assert stmt. assert stmts | Tim Peters | 2002-08-25 | 1 | -60/+60 |
| | | | | | should never be used in tests. Repaired dozens, but more is needed. | ||||
| * | Simplified the setup for is-subset testing. | Tim Peters | 2002-08-25 | 1 | -25/+20 |
| | | |||||
| * | Removed < <= > >= from the API. Implemented as comparisons of the | Raymond Hettinger | 2002-08-24 | 1 | -2/+2 |
| | | | | | | | | | underlying dictionaries, there were no reasonable use cases (lexicographic sorting of a list of sets is somewhat esoteric). Frees the operators for other uses (such as strict subset and superset comparisons). Updated documentation and test suite accordingly. | ||||
| * | At Tim Peter's suggestion, propagated GvR's binary operator changes to | Raymond Hettinger | 2002-08-24 | 1 | -0/+32 |
| | | | | | | | | | | | | | the inplace operators. The strategy is to have the operator overloading code do the work and then to define equivalent method calls which rely on the operators. The changes facilitate proper application of TypeError and NonImplementedErrors. Added corresponding tests to the test suite to make sure both the operator and method call versions get exercised. Add missing tests for difference_update(). | ||||
| * | Expanded tests for sets of sets. | Raymond Hettinger | 2002-08-24 | 1 | -0/+4 |
| | | |||||
| * | Add regression test for proper construction of sets of sets. | Raymond Hettinger | 2002-08-21 | 1 | -0/+10 |
| | | |||||
| * | Rename popitem() to pop(). (An idea from SF patch 597444.) | Guido van Rossum | 2002-08-20 | 1 | -2/+2 |
| | | |||||
| * | Set classes and their unit tests, from sandbox. | Guido van Rossum | 2002-08-19 | 1 | -0/+568 |
