[IronPython] Double-Import Bug

Curt Hagenlocher curt at hagenlocher.org
Tue May 17 19:42:01 PDT 2005


> Is this bug known?
> That is, if a module fails to import, a second attempt to import does
> not throw an exception. I think this is because
> Importer.LoadFromSource puts the module into sys.modules before
> calling the import function, but does not remove it if the import
> function fails.

I believe that this behavior is consistent with that of CPython.

--
Curt Hagenlocher
curt at hagenlocher.org


More information about the users-ironpython.com mailing list