python - pq: Replace asserts and keep determined fatality. - Mailing list pgsql-committers

From jwp@pgfoundry.org (James William Pye)
Subject python - pq: Replace asserts and keep determined fatality.
Date
Msg-id 20060313062415.158731033834@pgfoundry.org
Whole thread Raw
List pgsql-committers
Log Message:
-----------
Replace asserts and keep determined fatality.

Determine fatality to avoid redundancy where higher levels may need to
look at the 'fatal' attribute again and again.

Replace debugging assert with real, live exceptions: ParseError in element3, and
ProtocolError in client3.
[Also, fix bindings and executings' exception isolation again.]

Modified Files:
--------------
    pq/src:
        client3.py (r1.19 -> r1.20)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/python/pq/src/client3.py.diff?r1=1.19&r2=1.20)
        element3.py (r1.13 -> r1.14)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/python/pq/src/element3.py.diff?r1=1.13&r2=1.14)

pgsql-committers by date:

Previous
From: okbob@pgfoundry.org (User Okbob)
Date:
Subject: orafce - orafce: PLVdate completed - multicultural library for bussines
Next
From: jwp@pgfoundry.org (James William Pye)
Date:
Subject: python - fe: Use Transaction.fatal for fatality detection.