diff options
author | Trent Mick <trentm@activestate.com> | 2000-10-04 17:50:59 (GMT) |
---|---|---|
committer | Trent Mick <trentm@activestate.com> | 2000-10-04 17:50:59 (GMT) |
commit | d68d0a6f5a0a4af255d6a73e236166d42f8b76b6 (patch) | |
tree | 5ecae6313bf927e8e7749b751d1854de246acbb7 /PC | |
parent | b2c2c9e9776e69d4d7860f89ef385885a6938ea5 (diff) | |
download | cpython-d68d0a6f5a0a4af255d6a73e236166d42f8b76b6.zip cpython-d68d0a6f5a0a4af255d6a73e236166d42f8b76b6.tar.gz cpython-d68d0a6f5a0a4af255d6a73e236166d42f8b76b6.tar.bz2 |
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.
Diffstat (limited to 'PC')
0 files changed, 0 insertions, 0 deletions