From: Matt G. <ma...@po...> - 2003-07-17 10:27:42
|
Hi, Is there a good reason why DBConnection.py tries to load all supported modules at the top of the module rather than where they are actually required? i.e. why is psycopg imported for the whole module rather than just for PostgresConnection? It should be relatively easy to refactor the code so that the individual Connection classes load the DB-API module as needed. A change like this would certainly improve load time for the module (not really all that important) but I think it will also make it easier for the Connection classes to support multiple dbapi DB-API drivers, i.e. psycopg, pyPgSQL etc. Would you accept a patch for this? - Matt -- Matt Goodall, Pollenation Internet Ltd w: http://www.pollenationinternet.com e: ma...@po... |