> CC: [email protected]
>On 27 February 2013 00:41, Burak Arslan <[email protected]> wrote:
>> On 02/26/13 17:26, azurIt wrote:
>>>>
>>>> huh. i have no idea why it's not working. what could be different
>>>> between your setup and mine? what version of python is it? are you still
>>>> on python 2.5? my tests are done with 2.7.3 on x64 Linux. what about you?
>>>
>>>
>>> Ok, i found out that this is NOT related to lxml. No matter which lxml
>>> version is install, it's not working under Python 2.6 (i have 2.6.6) with
>>> rpclib/spyne >= 2.8.0. Always works with Python 2.7. Can you try it with
>>> p2.6 please?
>>
>>
>> Whaat?! What kind of nonsense is this?
>>
>> 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('Infinity') > 5
>> True
>>>>> Decimal('Infinity') > 5.0
>> False
>>>>>
>
>Works for me on 2.6.5 (Ubuntu 10.04)
>
>$ python
>Python 2.6.5 (r265:79063, Oct 1 2012, 22:04:36)
>[GCC 4.4.3] on linux2
>Type "help", "copyright", "credits" or "license" for more information.
>>>> from decimal import Decimal
>>>> Decimal('Infinity') > 5
>True
>>>> Decimal('Infinity') > 5.0
>True
>
>--
>Michael Wood <[email protected]>
>
Hm, strange, works also here on 2.6.6 (tried both 32bit and 64bit):
Python 2.6.6 (r266:84292, Dec 26 2010, 22:31:48)
[GCC 4.4.5] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from decimal import Decimal
>>> Decimal('Infinity') > 5
True
>>> Decimal('Infinity') > 5.0
True
But spyne had problems and latest patch fixed it for me so it must be also in
something else.
_______________________________________________
Soap mailing list
[email protected]
http://mail.python.org/mailman/listinfo/soap