I ran across this while trying to get sqlalchemy working with IronPython.
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.
example:
test.py::
import foo.bar as b
print b
foo/__init__.py::
def bar():
pass
foo/bar.py::
pass
-----------------------------
C:\IronPython-1.0-Beta9>python test.py
<module ' foo.bar' from 'C:\IronPython-1.0-Beta9\foo\bar.py'>
C:\IronPython-1.0-Beta9>ipy test.py
<function bar at 0x000000000000002B>
-------------------------------
_______________________________________________ users mailing list users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com