On Wednesday, November 05, 2014 10:10:52 PM Bzzzz wrote: > Package: python-psycopg2 > Version: 2.5.4+dfsg-1 > Severity: normal > > --- Please enter the report below this line. --- > > Ho folks, > > Or at the very least, doc should clearly state that it MUST NOT > be used into 'set_session()')'. > > Because issuing: > connection.set_session(psycopg2.extensions.ISOLATION_LEVEL_AUTOCOMMIT, > readonly=True, deferrable=False, autocommit=True) > > fails with the following message: > ValueError: isolation_level must be between 1 and 4 > (œuf corse, as psycopg2.extensions.ISOLATION_LEVEL_AUTOCOMMIT == 0)
Fixed upstream by improving the documentation in this commit: https://github.com/psycopg/psycopg2/commit/f27ca25d2e1cf2236444ecad9cf6eafb01efb77e Scott K -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org