[IronPython] Deleting a module from the host
Curt Hagenlocher
curt at hagenlocher.org
Fri Jan 4 15:02:33 CET 2008
In a previous alpha of IPY 2.0, I deleted modules by saying
PythonEngine.CurrentEngine.SystemState.modules.Remove(moduleName)
(which is almost a direct analog of "del sys.modules[moduleName]").
What's the best approach in Alpha 7? And will this change as IronPython
continues to migrate to the DLR?
I suppose I could literally execute Python code to do what I want, but it
seems so inelegant...
--
Curt Hagenlocher
curt at hagenlocher.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20080104/19a04104/attachment.html>
More information about the Ironpython-users
mailing list