Replacement for locals() ???

Terry Reedy tjreedy at udel.edu
Fri Jul 30 21:44:21 EDT 2004


"Harald Massa" <cpl.19.ghum at spamgourmet.com> wrote in message
news:Xns95375A0BA9Ecpl19ghumspamgourmet at 195.20.224.116...
> So two of the greatest PythonBrains have problems in optimizing Python
> because of locals(), the most common usage of Python in my practice is
> peripheral; so just by way of precaution I am looking for a replacement.

I suspect you are very prematurely optimizing.  Since you are filling out
SQL statements, I would expect that your bottlenecks are and will be the
execution of the statements, and not the construction of the statements.

tjr






More information about the Python-list mailing list