This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author chemacortes
Recipients chemacortes, jcea
Date 2009-02-06.14:16:26
SpamBayes Score 0.00270765
Marked as misclassified No
Message-id <>
Sometimes, the default hash for user-defined object is not equal to the
id of the object:

In [1]: class A:
  ...:   pass

In [2]: a=A()

In [3]: id(a),hash(a)
Out[3]: (3082955212L, -1212012084)

The test box has an AMD Sempron, a 64bit CPU archictecture emulating a
32bit one. This following relation can be deduced:

Date User Action Args
2009-02-06 14:16:28chemacortessetrecipients: + chemacortes, jcea
2009-02-06 14:16:28chemacortessetmessageid: <>
2009-02-06 14:16:26chemacorteslinkissue5169 messages
2009-02-06 14:16:26chemacortescreate