summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_class.py
Commit message (Collapse)AuthorAgeFilesLines
* Fix for test_class.py on Win64. id(self), which on Win64 returns aTrent Mick2000-10-041-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 thereThomas Wouters2000-08-171-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.