> CC: [email protected] >On 02/27/13 13:22, azurIt wrote: >> Ok, i probably got it. It's related to -inf in Python 2.6.6: >>>>> Decimal('-inf') > 1.0 >> True >>>>> Decimal('-inf') > 1 >> False >> > >Well, not-quite-so-surprisingly, that's working for me. > >Python 2.6.8 (unknown, Feb 26 2013, 17:49:34) >[GCC 4.6.3] on linux2 >Type "help", "copyright", "credits" or "license" for more information. > >>> from decimal import Decimal > >>> Decimal('-inf') > 0.0 >False > >>> Decimal('-inf') > 0 >False > >>>
:D so python 2.6.7 or .8 fixed -inf and broke inf ;) _______________________________________________ Soap mailing list [email protected] http://mail.python.org/mailman/listinfo/soap
