pgdb.connect() seems to be broken on Python 2.0.1 (which ships with

Bruce Momjian <bruce@momjian.us>

Commit: be9728acf1395ee45d82aa1e922570a82f9d040f
Author: Bruce Momjian <bruce@momjian.us>
Date: 2002-04-24T01:58:31Z
Releases: 7.3.1
pgdb.connect() seems to be broken on Python 2.0.1 (which ships with
Slackware 8), and perhaps on other Pythons, haven't checked.  Something in
the _pg.connect() call isn't working.  I think the problem stems from the
fact that 'host' is a named parameter of both _pg.connect and pgdb.connect,
and so Python treats it as a variable assignment, not a named parameter.

Uses non-named parameters.

Andrew Johnson

Files

PathChange+/−
src/interfaces/python/pgdb.py modified +2 −3