In article <[EMAIL PROTECTED]>, Steve Holden <[EMAIL PROTECTED]> wrote:
> Just to make things simpler, and (;-) to appeal to a wider audience, > here is a program that doesn't use database at all (it loads the entire > standard library into a dict) and still shows the error. > > What *I* would like to know is: who is allowing the import of bsddb.os, > thereby somehow causing the code of the os library module to be run a > second time. [ ... ] Maybe this?: > if package: > module.__path__ = sys.path I'm fairly sure this should read module.__path__ = ["*db*"] Just -- http://mail.python.org/mailman/listinfo/python-list