Is this bug known?

In file foo.py:

    import bar

At the IronPython console:

    >>> import foo
    [[ Giant exception stack trace ]]
    >>> import foo
    >>>

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.

thanks,
john
_______________________________________________
users-ironpython.com mailing list
users-ironpython.com@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Reply via email to