"import" creates GIL overhead every time it is run. For threaded MySQLdb apps,
it doesn't make sense to pay that cost for every execute(), so lets move some of these imports.
http://wiki.python.org/moin/PythonSpeed/PerformanceTips#ImportStatementOverhead
Authored by: kylev 2009-05-18
Parent: [r628]
Child: [r630]