On 9/4/2012 4:28 PM, channel727...@gmail.com wrote:
The Python C API function PyEval_EvalCode let's you execute compiled
Python code. I want to execute a block of Python code as if it were
executing within the scope of a function, so that it has its own
dictionary of local variables which don't a
The Python C API function PyEval_EvalCode let's you execute compiled Python
code. I want to execute a block of Python code as if it were executing within
the scope of a function, so that it has its own dictionary of local variables
which don't affect the global state.
This seems easy enough to