Looking for advice: supporting multiple embedded interpreters

Paul Miller paul at fxtech.com
Thu Jan 22 17:52:07 EST 2004


>I can't address why it doesn't work in 2.3, but just a question - have
>you thought of not using independent interpreter states, but just
>tracking the contents of sys.modules and clearing out any new modules
>at reload time?  That would force even nested imports to be reloaded.

Hmm - although not as "clean" as having multiple interpreters (since 
globals would still be visible between modules), it WOULD get around the 
more pervasive problem, which was the reloading. I'll take a look at this.

THANKS!






More information about the Python-list mailing list