python - ip: Implement some common code in Connector and Fitting

Поиск
Список
Период
Сортировка
От jwp@pgfoundry.org (James William Pye)
Тема python - ip: Implement some common code in Connector and Fitting
Дата
Msg-id 20060319205439.1426D1033896@pgfoundry.org
обсуждение исходный текст
Список pgsql-committers
Log Message:
-----------
Implement some common code in Connector and Fitting classes.

These were more abstract, but some common functionality could be implemented
here, so do so. In particular, the way in which Connectors are instantiated is a
bit difficult, so avoid the headaches of duplication by placing them here.

Also, introduce the idea of adaption for Interface classes. This provides the
ability to layer interfaces on already established connections, instead of
requiring a new Connector to be used.

Modified Files:
--------------
    ip/src:
        abstract.py (r1.2 -> r1.3)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/python/ip/src/abstract.py.diff?r1=1.2&r2=1.3)

Added Files:
-----------
    ip/test:
        abstract.py (r1.1)

(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/python/ip/test/abstract.py?rev=1.1&content-type=text/x-cvsweb-markup)

В списке pgsql-committers по дате отправления:

Предыдущее
От: jwp@pgfoundry.org (James William Pye)
Дата:
Сообщение: python - fe: Use Green Trunk's new base functionality in Connectors and
Следующее
От: neilc@postgresql.org (Neil Conway)
Дата:
Сообщение: pgsql: Fix a few places that were checking for the return value of