Hi,
Am Dienstag, den 07.10.2008, 15:30 +0100 schrieb Orestis Markou:
> Have you tried passing in empty dicts for globals and locals? I think
> that the defaults will be the *current* globals and locals, and then
> of course your namespace is broken...
That seems to work, thanks. Still trying to m
Have you tried passing in empty dicts for globals and locals? I think
that the defaults will be the *current* globals and locals, and then
of course your namespace is broken...
On Tue, Oct 7, 2008 at 1:26 PM, Gordon Fraser <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'm trying to parse Python code to an
Hi,
I'm trying to parse Python code to an AST, apply some changes to the AST
and then compile and run the AST, but I'm running into problems when
trying to evaluate/execute the resulting code object. It seems that the
global namespace differs depending on where I call parse and eval/exec.
The fol