On Mon, Jul 15, 2002 at 08:47:28AM -0400, Greg Ward wrote: > On a lark, I just tried renaming the __init__.py file for a Quixote root > namespace to __init__.ptl. I expected importing the package to fail; to > my surprise, it appeared to work -- but there's nothing in the package. I expected it to work. It doesn't work for me either. Interestingly, importing the __init__ module explicitly seems to work. It's not cimport but it could be ihooks. > IMHO, __init__.ptl should either work just like __init__.py, or it > should not work at all -- ie. I should get an ImportError. I think it should work. > I think I prefer the former -- does anyone else care? Neil or Andrew, > any idea how hard it would be for Quixote's import hook to fix this? I spent a few minutes looking at it. The problem is not obvious. I think there is something wrong with ihooks. As long as no one else complains I'm tempted to let it be for now. I've added an item to the TODO list. Neil