[IronPython] reload or workaround

Michael Spencer mahs at telcopartners.com
Tue Apr 26 14:56:39 PDT 2005

Congrats and thanks for the 0.73 release

Since reload is not available yet, what is the best workaround for re-compiling 
changed source for imported modules?

The exe/pdf files cannot be deleted

del sys.modules[...] followed by import ...

raises a System.IO.IOException

Until now, I have been restarting the interpreter and re-importing the module 
after every source change.  Is there a better way yet?



More information about the users-ironpython.com mailing list