python - ip: Implement some common code in Connector and Fitting - Mailing list pgsql-committers

From jwp@pgfoundry.org (James William Pye)
Subject python - ip: Implement some common code in Connector and Fitting
Date
Msg-id 20060319205439.1426D1033896@pgfoundry.org
Whole thread Raw
List 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 by date:

Previous
From: jwp@pgfoundry.org (James William Pye)
Date:
Subject: python - fe: Use Green Trunk's new base functionality in Connectors and
Next
From: neilc@postgresql.org (Neil Conway)
Date:
Subject: pgsql: Fix a few places that were checking for the return value of