I am currently using the PyObject __call__() method to execute a previously compile python function.
        pyOnInitialize.__call__(); // where pyOnInitialize is a PyObject

The problem is I need to pass it the locals variable, so I can always restart my python variables at a certain state.
I am now using the following code, which allows me to do this :
the problem is I can't pass any parameters to this call, or receive any return values.
Is there a way of doing the equivalent of the __call__() method but using my locals variable??
Thanks a lot.
Andre M. Descombes