STINNER Victor <victor.stin...@haypocalc.com> added the comment:

Anyway, the behaviour in correct. But ok, it's "strange" because 
unexpected. You have to understand the fact the long=>int conversion 
is manual :-/ Decimal.__int__ might force return int(result) at the 
end to avoid problem with -sys.maxint, but is it really important? I 
don't think so. Python3 doesn't have this problem ;-)

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue5377>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to