Thanks for reporting this. I opened a bug at http://www.codeplex.com/WorkItem/View.aspx?ProjectName=IronPython&WorkItemId=1348.
Unfortunately we will unable to fix it in the next release, which will be out soon. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jesse Granden Sent: Sunday, July 23, 2006 3:06 PM To: [email protected] Subject: [IronPython] Import Bug with 1.0 Beta 9 Hi, 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 [email protected] http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
