Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Committing and closing SF patch #403671 by Finn Bock to help Jython | Barry Warsaw | 2001-08-20 | 1 | -11/+31 |
| | | | | pass these tests. | ||||
* | Finn Bock (SF patch #103345): Avoid outdated exec form in | Guido van Rossum | 2001-01-22 | 1 | -2/+2 |
| | | | | test_class.py. | ||||
* | Add test that ensures hash() of objects defining __cmp__ or __eq__ but | Guido van Rossum | 2001-01-18 | 1 | -0/+23 |
| | | | | not __hash__ raises TypeError. | ||||
* | Make reindent.py happy (convert everything to 4-space indents!). | Fred Drake | 2000-10-23 | 1 | -9/+8 |
| | |||||
* | Fix for test_class.py on Win64. id(self), which on Win64 returns a | Trent Mick | 2000-10-04 | 1 | -1/+1 |
| | | | | | PyLong, was used for the return value of a class __hash__ method, which *must* return a PyInt. Solution: hash() the id(self) value. | ||||
* | Apply SF patch #101029: call __getitem__ with a proper slice object if there | Thomas Wouters | 2000-08-17 | 1 | -0/+219 |
is no __getslice__ available. Also does the same for C extension types. Includes rudimentary documentation (it could use a cross reference to the section on slice objects, I couldn't figure out how to do that) and a test suite for all Python __hooks__ I could think of, including the new behaviour. |