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

python - pq: Don't inherit from SyntaxError.

From: jwp(at)pgfoundry(dot)org (James William Pye)
To: pgsql-committers(at)postgresql(dot)org
Subject: python - pq: Don't inherit from SyntaxError.
Date: 2007-11-29 23:11:54
Message-ID: 20071129231154.5DADE17ADCD4@pgfoundry.org (view raw or flat)
Thread:
Lists: pgsql-committers
Log Message:
-----------
Don't inherit from SyntaxError.

While this might seem to make some organizational sense. When someone traps a
SyntaxError, they will hardly be expecting an element3 ParseError.

Modified Files:
--------------
    pq/src:
        element3.py (r1.16 -> r1.17)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/python/pq/src/element3.py.diff?r1=1.16&r2=1.17)

pgsql-committers by date

Next:From: James William PyeDate: 2007-11-29 23:14:08
Subject: python - pq: Protect against external exceptions caused by iter().
Previous:From: James William PyeDate: 2007-11-29 23:09:36
Subject: python - lo: Improve __str__ output for exceptions and warnings.

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