psycopg2-ctypes icon indicating copy to clipboard operation
psycopg2-ctypes copied to clipboard

Import and expose psycopg2.psycopg1 from psycopg2

Open masklinn opened this issue 12 years ago • 1 comments

psycopg2.psycopg1 is a straightforward Python file which imports psycopg2 and reimplement psycopg1-compatible cursors (API-wise e.g. dictfetchall) on top of psycopg2. There's an import of _psycopg but it's not used and can be removed altogether, the rest runs out of the box on top of psycopg2ct as far as I could test.

masklinn avatar Feb 26 '13 12:02 masklinn

I think you are right: even in the C psycopg2 implementation the _psycopg import is unused.

dvarrazzo avatar Feb 26 '13 12:02 dvarrazzo