I have difficulties with a weird Python 2.4.2 behaviour in comparing Decimal to
Floats.
For Example :
>>> from decimal import Decimal
>>> a=Decimal('3.7')
>>> b=6.3
>>> if a > b :print a,b,'a is greater than b - NOT TRUE'
... else: print a,b,'b is greater than a - CORRECT'
...
3.7 6.3 a
Hi all, I’ve just compiled Python 2.4.1 on a linux box (RHEL 3AS) after having installed Berkeley DB 4.3.27 from sleepycat Software.During the configure/build process python correctly found the BSBDB library. I then installed the rest of my environment which is correctly working with Python 2