Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Make 'x in y' and 'x not in y' (PySequence_Contains) play nice w/ iterators. | Tim Peters | 2001-05-05 | 1 | -2/+2 |
| | | | | | | | | | | | | | NEEDS DOC CHANGES A few more AttributeErrors turned into TypeErrors, but in test_contains this time. The full story for instance objects is pretty much unexplainable, because instance_contains() tries its own flavor of iteration-based containment testing first, and PySequence_Contains doesn't get a chance at it unless instance_contains() blows up. A consequence is that some_complex_number in some_instance dies with a TypeError unless some_instance.__class__ defines __iter__ but does not define __getitem__. | ||||
* | Make reindent.py happy (convert everything to 4-space indents!). | Fred Drake | 2000-10-23 | 1 | -65/+65 |
| | |||||
* | Deviant1 didn't work as advertised | Jeremy Hylton | 2000-04-27 | 1 | -4/+4 |
| | |||||
* | add some more contains tests on the builtin types | Jeremy Hylton | 2000-04-27 | 1 | -0/+47 |
| | |||||
* | Marc-Andre Lemburg: | Guido van Rossum | 2000-04-10 | 1 | -1/+58 |
| | | | | * More test cases for test_contains.py. | ||||
* | Add tests for char in string -- including required exceptions for | Guido van Rossum | 2000-03-07 | 1 | -0/+23 |
| | | | | non-char in string. | ||||
* | Test cases for __contains__ code, by Moshe Zadka. | Guido van Rossum | 2000-03-06 | 1 | -0/+41 |