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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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)

Browse pgsql-committers by date

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