Globals, Locals Dictionaries + Callbacks Question

Steve Holden steve at holdenweb.com
Wed Dec 21 06:59:41 EST 2005


Faisal Alquaddoomi wrote:
> Hello,
> 
> I'm having a bit of trouble isolating my scripts from each other in my 
> embedded Python interpreter, so that their global namespaces don't get 
> all entangled. 

[tales of woe ...]

Would it help to use PyNewInterpreter to create subinterpreters for each 
of the different scripts?

regards
  Steve
-- 
Steve Holden       +44 150 684 7255  +1 800 494 3119
Holden Web LLC                     www.holdenweb.com
PyCon TX 2006                  www.python.org/pycon/




More information about the Python-list mailing list