~psycopg/psycopg/2.0.x

213 by Federico Di Gregorio
Added a couple of tests to the sandbox.
1
import gtk
2
import psycopg2
3
4
o = psycopg2.connect("dbname=test")
5
c = o.cursor()
6
c.execute("SELECT 1.23::float AS foo")
7
x = c.fetchone()[0]
8
print x, type(x)
9