New issue 2586: decimal.py: compare_total_mag() results reversed https://bitbucket.org/pypy/pypy/issues/2586/decimalpy-compare_total_mag-results
Stefan Krah:
There seems to be a glitch in compare_total_mag():
Expected:
>>> Decimal(1).compare_total_mag(-2)
Decimal('-1')
Got:
>>>> Decimal(1).compare_total_mag(-2)
Decimal('1')
_______________________________________________
pypy-issue mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-issue
