I am using IronPython 2.6, and I was wondering if there is a way to copy Microsoft.Scripting.Hosting.ScriptScope to get all the variables and context in another ScriptScope. The reason I want this is because the file is executing, and I want to restore the context before it starts, if an exception occurs.
Thanks.
source share