My python seems to be having troubles handling floats to integers.

I believe it is causing my rdiff-backup to go haywire (as mentioned in
my previous thread "rdiff-backup and utime problem").

If I run a python session, I get the following bad results:

~/tmp$ python
Python 2.2.2 (#1, Jan 22 2003, 20:44:19) 
[GCC 3.2.1 20021207 (Gentoo Linux 3.2.1-20021207)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> int(10.2)
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
OverflowError: float too large to convert
>>> int(1.2)
0
>>> 

Does any python experts have a suggestion?  Does anyone have this
problem?  What have I done?  I tried re-emerging python but that did
not help.

I have:
CFLAGS='-mcpu=pentium4 -O2 -pipe'
dev-lang/python-2.2.2
Using stable x86

Any help much appreciated.

-- 
Jeff Kowing
[EMAIL PROTECTED]

--
[EMAIL PROTECTED] mailing list

Reply via email to