In article <[EMAIL PROTECTED]>,
 Bernhard Herzog <[EMAIL PROTECTED]> wrote:

> Bernhard Herzog <[EMAIL PROTECTED]> writes:
> 
> > Steve Holden <[EMAIL PROTECTED]> writes:
> >>          if package:
> >>              module.__path__ = sys.path
> >
> > You usually should initialize a package's __path__ to an empty list.
> 
> Actually, normally it's a list that contains the name of the package
> directory as its only item.  I'm not sure what you should do when you do
> not import from a file system.

If it's a path importer, it could be a cookie, specific to the importer. 
I think in Steve's case initializing __path__ to ["*db*"] should work.

Just
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to