summaryrefslogtreecommitdiffstats
path: root/Objects/cobject.c
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2010-04-02 10:35:12 (GMT)
committerMark Dickinson <dickinsm@gmail.com>2010-04-02 10:35:12 (GMT)
commitf3eeca16cbadd7da5836ed781572343863b1a074 (patch)
tree14fc31b72773122d3c13f7e72cbdb57b28365e05 /Objects/cobject.c
parente096e82e827f6092706c7349fd4944c275382eb5 (diff)
downloadcpython-f3eeca16cbadd7da5836ed781572343863b1a074.zip
cpython-f3eeca16cbadd7da5836ed781572343863b1a074.tar.gz
cpython-f3eeca16cbadd7da5836ed781572343863b1a074.tar.bz2
Issue #7279: Make Decimal('nan') hashable. Decimal('snan') remains unhashable.
Also rewrite the Decimal __hash__ method so that it doesn't rely on float('inf') being valid: float('inf') could raise an exception on platforms not using IEEE 754 arithmetic.
Diffstat (limited to 'Objects/cobject.c')
0 files changed, 0 insertions, 0 deletions