Skip site navigation (1) Skip section navigation (2)

python - pq: Raise exception instances.

From: jwp(at)pgfoundry(dot)org (James William Pye)
To: pgsql-committers(at)postgresql(dot)org
Subject: python - pq: Raise exception instances.
Date: 2007-11-08 18:13:16
Message-ID: 20071108181316.6347F216D0E@pgfoundry.org (view raw or flat)
Thread:
Lists: pgsql-committers
Log Message:
-----------
Raise exception instances.

I hear that this is the [more?] accepted way to raise exceptions in Python 3.0.
(Not sure if the other way is completely unsupported, but let's move anyways)

Modified Files:
--------------
    pq/src:
        client3.py (r1.24 -> r1.25)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/python/pq/src/client3.py.diff?r1=1.24&r2=1.25)
        element3.py (r1.15 -> r1.16)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/python/pq/src/element3.py.diff?r1=1.15&r2=1.16)

pgsql-committers by date

Next:From: James William PyeDate: 2007-11-08 18:25:34
Subject: python - pq: Add the 'Queue' class for managing protocol transactions.
Previous:From: James William PyeDate: 2007-11-08 17:46:20
Subject: python - lo: Reorganize the project and incorporate the 'ex' module.

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group