The pyspf package [http://cheeseshop.python.org/pypi/pyspf/] can use
either pydns, or dnspython.  The pyspf module has a simple driver
function, DNSLookup(), that defaults to the pydns version.  It can be
assigned to a dnspython version, or to a test driver for in memory DNS. 
Or you can modify the source to "from drivermodule import DNSLookup".

What is the friendliest way to make this configurable?  Currently, users
are modifying the source to supply the desired driver.  Yuck.  I would
like to supply several drivers, and have a simple way to select one at
installation or run time.

-- 
              Stuart D. Gathman <[EMAIL PROTECTED]>
Business Management Systems Inc.  Phone: 703 591-0911 Fax: 703 591-6154
"Confutatis maledictis, flamis acribus addictis" - background song for
a Microsoft sponsored "Where do you want to go from here?" commercial.

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to