the actual C code - Re: Scoping bugs in an embedded Python interpreter - Wizards please

morris.slutsky at gmail.com morris.slutsky at gmail.com
Sun Oct 1 05:50:37 EDT 2006


FOUND IT!

http://mail.python.org/pipermail/python-list/1999-June/005833.html

So I'm supposed to only have ONE dictionary, 'glb', and forget the
'loc' for locals.

Just call PyRun(...glb,glb)....

Seeing as this was a topic of discussion 7 years ago, maybe it ought to
be in the "extending and embedding" manual ... well thanks everyone who
read this.




More information about the Python-list mailing list