Python + PostgreSQL

"Martin v. Löwis" martin at v.loewis.de
Fri Mar 20 02:08:11 EDT 2009


> I saw in a different post that psycopg2 does work on Python 3.x as
> long as a patch is applied (by Martin v. Löwis):
> 
[...]
> Do you know where can I find this patch

It's linked in

http://wiki.python.org/moin/Early2to3Migrations

and lives in

http://www.dcl.hpi.uni-potsdam.de/home/loewis/psycopg_3k_v2.diff
(or perhaps a later version should I need to apply more fixes)

> and if it does fully solve
> any incompatibility issues to be able to use Python 3.x without
> problems?.

I think it should resolve all issues for psycopg2. If you find issues,
I would certainly like to know.

Of course, it does not magically resolve *all* problems that you
might have with Python 3.x.

Regards,
Martin



More information about the Python-list mailing list