[issue1770416] Decimal.__int__ overflows for large values
Facundo Batista
report at bugs.python.org
Sat Nov 24 02:01:52 CET 2007
Facundo Batista added the comment:
This was fixed at the same time than issue 1772851.
int(D("1e1234567890987654321")) stills take too long, but this is fault
of doing 10**1234567890987654321 to convert it to an int.
Note that hash(D("1e1234567890987654321")) is fast now.
----------
resolution: -> fixed
status: open -> closed
_____________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1770416>
_____________________________________
More information about the Python-bugs-list
mailing list