I am worried about what the module-level attribute does to thread-safety.
If this feature is kept, it should be a class attribute, not a module
attribute.  We should be doing connections using new style classes.

conn = dbapi_module.Connection()
conn.paramstyle = 'oddball'
conn.connect(your, parameters, here)

or

dbapi_module.Connection.paramstyle = 'oddball'
conn = dbapi_module.Connection().connect(parameters)
_______________________________________________
DB-SIG maillist  -  DB-SIG@python.org
http://mail.python.org/mailman/listinfo/db-sig

Reply via email to