New issue 2587: decimal.py: compare_total(): unexpected result with NaN operand https://bitbucket.org/pypy/pypy/issues/2587/decimalpy-compare_total-unexpected-result
Stefan Krah: NaN operands are handled differently from _pydecimal: Expected: ``` >>> Decimal('4367').compare_total(Decimal('NaN')) Decimal('-1') ``` Got: ``` >>>> Decimal('4367').compare_total(Decimal('NaN')) Decimal('NaN') ``` _______________________________________________ pypy-issue mailing list pypy-issue@python.org https://mail.python.org/mailman/listinfo/pypy-issue