<div>In a previous alpha of IPY 2.0, I deleted modules by saying</div>
<div><font face="courier new,monospace">PythonEngine.CurrentEngine.SystemState.modules.Remove(moduleName)</font></div>
<div>(which is almost a direct analog of "del sys.modules[moduleName]").</div>
<div> </div>
<div>What's the best approach in Alpha 7? And will this change as IronPython continues to migrate to the DLR?</div>
<div> </div>
<div>I suppose I could literally execute Python code to do what I want, but it seems so inelegant...</div>
<div> </div>
<div>--</div>
<div>Curt Hagenlocher</div>
<div><a href="mailto:curt@hagenlocher.org">curt@hagenlocher.org</a></div>