On Tue, Mar 23, 2010 at 11:31, Mark Dickinson <dickinsm at gmail.com> wrote: > Agreed, notwithstanding the above comments. Though to avoid the > problems described above, I think the only way to make this acceptable > would be to prevent hashing of signaling nans. (Which the decimal > module current does; it also prevents hashing of quiet NaNs, but I > can't see any good rationale for that.) a = Decimal('nan') a != a They don't follow the behaviour required for being hashable. float NaN should stop being hashable as well. -- Adam Olsen, aka Rhamphoryncus
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4