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 mark.dickinson
Recipients mark.dickinson, seberg, skrah
Date 2013-02-13.15:53:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1360770830.69.0.662001368139.issue7279@psf.upfronthosting.co.za>
In-reply-to
Content
Sebastian:  I think this discussion is a bit off-topic for this particular bug;  you might want to raise it on python-dev or python-ideas instead.  

Bear in mind, though, that the behaviour of NaNs and containers has been discussed to death many times in the past;  I'd suggest not bringing the issue up again unless there's something genuinely new to bring to the discussion.  The current behaviour is certainly a compromise, but it seems to be the best compromise available.

Note that with respect to this particular issue: it's only *signalling* nans that raise on hashing for the Decimal type.  Quiet nans are hashable as usual.  Since for float, all nans can be regarded as quiet, Decimal and float behave the same way on this.
History
Date User Action Args
2013-02-13 15:53:50mark.dickinsonsetrecipients: + mark.dickinson, skrah, seberg
2013-02-13 15:53:50mark.dickinsonsetmessageid: <1360770830.69.0.662001368139.issue7279@psf.upfronthosting.co.za>
2013-02-13 15:53:50mark.dickinsonlinkissue7279 messages
2013-02-13 15:53:50mark.dickinsoncreate