[Python-Dev] test___all__ fails with no bsddb

Martin von Loewis loewis@informatik.hu-berlin.de
Sun, 21 Jan 2001 22:34:08 +0100 (MET)

On my Solaris 2.6 installation, with no bsddb module, I get

test test___all__ failed -- dbhash has no __all__ attribute

This is caused by anydbm importing dbhash first. After that fails,
dbhash is still in sys.modules, and the next import of dbhash silently
loads an incomplete module.