[C++-sig] Re: Injecting python code to a class

Raoul Gough RaoulGough at yahoo.co.uk
Mon Mar 29 23:02:21 CEST 2004


Raoul Gough <RaoulGough at yahoo.co.uk> writes:

> [...] it seems that I should be passing __builtins__.__dict__ as the
> global dictionary to PyRun_String, and the locals builtin can indeed
                                             ^^^^^^^^^^^^^^
> be NULL.

Oops, sorry. I meant "local dictionary" rather than "locals builtin"

-- 
Raoul Gough.
export LESS='-X'





More information about the Cplusplus-sig mailing list