En Sun, 01 Apr 2007 01:35:59 -0300, Brendon Costa <[EMAIL PROTECTED]>  
escribió:

> How do i convert a _node* object returned from:
> PyParser_SimpleParseStringFlagsFilename()
>
> into a code object i can use as a module to import with:
> PyImport_ExecCodeModule()

Using PyNode_Compile. But why don't you use Py_CompileXXX instead?
And look into import.c, maybe there is something handy.

-- 
Gabriel Genellina

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to