diff options
author | Mark Dickinson <dickinsm@gmail.com> | 2010-04-02 08:53:22 (GMT) |
---|---|---|
committer | Mark Dickinson <dickinsm@gmail.com> | 2010-04-02 08:53:22 (GMT) |
commit | 99d8096c174ccb025e8ff55e614ea3820f89e204 (patch) | |
tree | b93c027821ca0e003ce090b97319f151246230ff /Python/mactoolboxglue.c | |
parent | 6eba77923565dc90d5b77b4b3f0e8f82f6109714 (diff) | |
download | cpython-99d8096c174ccb025e8ff55e614ea3820f89e204.zip cpython-99d8096c174ccb025e8ff55e614ea3820f89e204.tar.gz cpython-99d8096c174ccb025e8ff55e614ea3820f89e204.tar.bz2 |
Issue #2531: Make float-to-decimal comparisons return correct results.
Float to decimal comparison operations now return a result based on
the numeric values of the operands. Decimal.__hash__ has also been
fixed so that Decimal and float values that compare equal have equal
hash value.
Diffstat (limited to 'Python/mactoolboxglue.c')
0 files changed, 0 insertions, 0 deletions