: [IronPython] infinite import loop for nested packages (and fix)
If you have a directory on your python path like so:
foo/
__init__.py: import foo.bar as bar
bar/
__init__.py: import foo.bar.baz as baz
baz.py: print 'Baz imported'
testit.py: import foo.bar
And you run testit.py,
If you have a directory on your python path like so:
foo/
__init__.py: import foo.bar as bar
bar/
__init__.py: import foo.bar.baz as baz
baz.py: print 'Baz imported'
testit.py: import foo.bar
And you run testit.py, the import process will go into an infinite
loop while importing 'foo.