python - pq: Replace asserts and keep determined fatality.

Поиск
Список
Период
Сортировка
От jwp@pgfoundry.org (James William Pye)
Тема python - pq: Replace asserts and keep determined fatality.
Дата
Msg-id 20060313062415.158731033834@pgfoundry.org
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: okbob@pgfoundry.org (User Okbob)
Дата:
Сообщение: orafce - orafce: PLVdate completed - multicultural library for bussines
Следующее
От: jwp@pgfoundry.org (James William Pye)
Дата:
Сообщение: python - fe: Use Transaction.fatal for fatality detection.