[IronPython] Double-Import Bug

Curt Hagenlocher curt at hagenlocher.org
Wed May 18 04:42:01 CEST 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 Ironpython-users mailing list