[Soap-Python] Problem with spyne 2.9.3 and lxml 3.1.0

Michael Wood esiotrot at gmail.com
Wed Feb 27 11:24:42 CET 2013


On 27 February 2013 00:41, Burak Arslan <burak.arslan at arskom.com.tr> 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 <esiotrot at gmail.com>


More information about the Soap mailing list