<div dir="ltr"><div><div><div><div>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.<br>

<br></div>conn = dbapi_module.Connection()<br></div>conn.paramstyle = 'oddball'<br></div>conn.connect(your, parameters, here)<br><br></div><div>or <br><br></div><div>dbapi_module.Connection.paramstyle = 'oddball' <br>

</div><div>conn = dbapi_module.Connection().connect(parameters)<br><br></div></div>