On Thu, Apr 21, 2011 at 12:44 AM, Ian Kelly <ian.g.ke...@gmail.com> wrote: > So, the question for the OP: Is this file being run with execfile? >
Not execfile per se; the code is fetched from the database and then executed with: PyObject *v=PyRun_StringFlags(code,Py_file_input,py_globals,locals,0); Is Py_file_input the problem? Chris Angelico -- http://mail.python.org/mailman/listinfo/python-list