Hello.
I need to use "inspect" module, that require sys._getframe() function.
But I'm use embedded IPY through calling:
var engine = Python.CreateEngine();
ScriptSource py = engine.CreateScriptSourceFromFile(fileName);
CompiledCode code = py.Compile();
code.Execute();
At this point for ScriptScope in 'code' object not available
sys._getframe() function. In console this resolved by -X:Frames option.
How I can enable this option for embedded Engine?
--
Best regards,
Suhotjuk Pavel Sergeevich
_______________________________________________
Users mailing list
[email protected]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com