diff options
| author | Mark Dickinson <dickinsm@gmail.com> | 2010-04-03 11:05:09 (GMT) | 
|---|---|---|
| committer | Mark Dickinson <dickinsm@gmail.com> | 2010-04-03 11:05:09 (GMT) | 
| commit | dbae3a8e1cb6359dcb015daabbc93540a4467674 (patch) | |
| tree | 403095e792ad4477812daaacd11073c5aca03875 /Python/traceback.c | |
| parent | d9a91305e24ac8e4afd6399de105b4abd680bcff (diff) | |
| download | cpython-dbae3a8e1cb6359dcb015daabbc93540a4467674.zip cpython-dbae3a8e1cb6359dcb015daabbc93540a4467674.tar.gz cpython-dbae3a8e1cb6359dcb015daabbc93540a4467674.tar.bz2  | |
Blocked revisions 79583,79588-79589 via svnmerge
........
  r79583 | mark.dickinson | 2010-04-02 09:53:22 +0100 (Fri, 02 Apr 2010) | 7 lines
  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.
........
  r79588 | mark.dickinson | 2010-04-02 11:17:07 +0100 (Fri, 02 Apr 2010) | 2 lines
  Issue #7279:  Make comparisons involving a Decimal sNaN signal InvalidOperation.
........
  r79589 | mark.dickinson | 2010-04-02 11:35:12 +0100 (Fri, 02 Apr 2010) | 6 lines
  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 'Python/traceback.c')
0 files changed, 0 insertions, 0 deletions
