[issue5377] Strange behavior when performing int on a Decimal made from -sys.maxint-1

Gregory Golberg report at bugs.python.org
Fri Feb 27 00:38:41 CET 2009


Gregory Golberg <grisha at alum.mit.edu> added the comment:

Well, yes, the workaround works, but the question is why would the
second int() return an int, if it's indeed a long? And why the
difference in this behavior between 2.5.1 and 2.5.2.

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5377>
_______________________________________


More information about the Python-bugs-list mailing list