Is there a rational for the cursors only keeping weakrefs to the
Connection object? I'm moving from MySQL and have a lot of code that is
similar to this:
cursor = connect(...).cursor().
cursor.execute(...)
This doesn't work with PyPgSQL because the cursor object doesn't keep
the connection object alive.
Cheers,
Brian
|