[IronPython] Double-Import Bug
Bob Ippolito
bob at redivi.com
Wed May 18 04:03:42 CEST 2005
On May 17, 2005, at 10:42 PM, Curt Hagenlocher wrote:
>> 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.
Consistent with CPython < 2.4. The behavior has changed.
-bob
More information about the Ironpython-users
mailing list