Ñò 'ĊKc@sxdZddkZddklZddklZddkT[ d„Z defd„ƒYZd efd „ƒYZdS( s)psycopg 1.1.x compatibility module This module uses the new style connection and cursor types to build a psycopg 1.1.1.x compatibility layer. It should be considered a temporary hack to run old code while porting to psycopg 2. Import it as follows:: from psycopg2 import psycopg1 as psycopg i˙˙˙˙N(tcursor(t connection(t*cOs-t|d new psycopg 1.1.x compatible connection objecttconnection_factoryi(Rt _2psycopgtconnecttset_isolation_level(targstkwargstconn((s7/usr/lib64/python2.6/site-packages/psycopg2/psycopg1.pyR's  RcBs#eZdZd„Zdd„ZRS(spsycopg 1.1.x connection.cCsti|dtƒS(s6cursor() -> new psycopg 1.1.x compatible cursor objecttcursor_factory(t _2connectionR(tself((s7/usr/lib64/python2.6/site-packages/psycopg2/psycopg1.pyR1sicCs/|djo|idƒn|idƒdS(s;autocommit(on_off=1) -> switch autocommit on (1) or off (0)iiN(R(R ton_off((s7/usr/lib64/python2.6/site-packages/psycopg2/psycopg1.pyt autocommit5s (t__name__t __module__t__doc__RR(((s7/usr/lib64/python2.6/site-packages/psycopg2/psycopg1.pyR.s RcBs2eZdZd„Zd„Zd„Zd„ZRS(sôpsycopg 1.1.x cursor. Note that this cursor implements the exact procedure used by psycopg 1 to build dictionaries out of result rows. The DictCursor in the psycopg.extras modules implements a much better and faster algorithm. cCsCh}x6tt|iƒƒD]}||||i|ds