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 rhettinger
Recipients amaury.forgeotdarc, mark.dickinson, rhettinger, skrah
Date 2010-11-08.16:39:27
SpamBayes Score 0.00023587813
Marked as misclassified No
Message-id <1289234369.34.0.936926342502.issue10356@psf.upfronthosting.co.za>
In-reply-to
Content
Good catch Stefan.  This is a regression from Py2.6.  The behavior for decimal should match that for int.

IDLE 2.6.2      
>>> hash(-1)
-2
>>> (-1).__hash__()
-2
>>> from decimal import *
>>> hash(Decimal(-1))
-2
>>> Decimal(-1).__hash__()
-2
History
Date User Action Args
2010-11-08 16:39:29rhettingersetrecipients: + rhettinger, amaury.forgeotdarc, mark.dickinson, skrah
2010-11-08 16:39:29rhettingersetmessageid: <1289234369.34.0.936926342502.issue10356@psf.upfronthosting.co.za>
2010-11-08 16:39:27rhettingerlinkissue10356 messages
2010-11-08 16:39:27rhettingercreate