[IronPython] Another import strangeness

Sanghyeon Seo sanxiyn at gmail.com
Wed Oct 25 03:40:06 CEST 2006


Import bugs seem to be especially difficult to reduce the testcase,
since it's often unclear what the hell is going on.

Reduced from some large bunch o' code:

$ ipy test.py
False
$ python test.py
True

File contents follow:

# test.py
import a
print hasattr(a, 'c')

# a/__init__.py
import b

# a/b.py
import c

# a/c.py
#empty

-- 
Seo Sanghyeon



More information about the Ironpython-users mailing list