Hi,<br><br>I ran across this while trying to get sqlalchemy working with IronPython.<br>If a package's __init__.py defines a method with the same name as a module in that package, you can't import the module.<br><br>example:
<br>test.py::<br>import foo.bar as b<br>print b<br><br><br>foo/__init__.py::<br>def bar():<br> pass<br><br>foo/bar.py::<br>pass<br><br><br>-----------------------------<br>C:\IronPython-1.0-Beta9>python test.py<br><module '
foo.bar' from 'C:\IronPython-1.0-Beta9\foo\bar.py'><br><br>C:\IronPython-1.0-Beta9>ipy test.py<br><function bar at 0x000000000000002B><br><br>-------------------------------<br><br><br><br>