commit | d68d0a6f5a0a4af255d6a73e236166d42f8b76b6 | [log] [tgz] |
---|---|---|
author | Trent Mick <trentm@activestate.com> | Wed Oct 04 17:50:59 2000 +0000 |
committer | Trent Mick <trentm@activestate.com> | Wed Oct 04 17:50:59 2000 +0000 |
tree | 5ecae6313bf927e8e7749b751d1854de246acbb7 | |
parent | b2c2c9e9776e69d4d7860f89ef385885a6938ea5 [diff] |
Fix for test_class.py on Win64. id(self), which on Win64 returns a PyLong, was used for the return value of a class __hash__ method, which *must* return a PyInt. Solution: hash() the id(self) value.