Re: Getting namespaces right when parsing/executing Python ASTs

2008-10-07 Thread Gordon Fraser
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

Re: Getting namespaces right when parsing/executing Python ASTs

2008-10-07 Thread 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... On Tue, Oct 7, 2008 at 1:26 PM, Gordon Fraser <[EMAIL PROTECTED]> wrote: > Hi, > > I'm trying to parse Python code to an