gnumed-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnumed-devel] float() problem


From: Karsten Hilbert
Subject: [Gnumed-devel] float() problem
Date: Mon, 2 Sep 2002 10:25:40 +0200
User-agent: Mutt/1.3.22.1i

Under Debian with psycopg the following line triggers:
 assert(float(dbapi.apilevel) >= 2.0)
with a
 ValueError: invalid literal for float()

- type of psycopg.apilevel is string
- value is 2.0

This is under Python 2.1.3

Anyone got any idea of what is going on ?
(No, it is not the Python version. I am running 2.1.1 on Suse
and it doesn't hiccup).

Karsten
-- 
GPG key ID E4071346 @ wwwkeys.pgp.net
E167 67FD A291 2BEA 73BD  4537 78B9 A9F9 E407 1346




reply via email to

[Prev in Thread] Current Thread [Next in Thread]