[IronPython] Deleting a module from the host
Curt Hagenlocher
curt at hagenlocher.org
Fri Jan 4 06:02:33 PST 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://lists.ironpython.com/pipermail/users-ironpython.com/attachments/20080104/19a04104/attachment.htm
More information about the Users
mailing list