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

From: jwp(at)pgfoundry(dot)org (James William Pye)
To: pgsql-committers(at)postgresql(dot)org
Subject: python - ip: Implement some common code in Connector and Fitting
Date: 2006-03-19 20:54:39
Message-ID: 20060319205439.1426D1033896@pgfoundry.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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)

Browse pgsql-committers by date

  From Date Subject
Next Message James William Pye 2006-03-19 21:02:27 python - fe: Use Green Trunk's new base functionality in Connectors and
Previous Message James William Pye 2006-03-19 16:33:39 python - ip: New Directory