On Jan 3, 2008, at 18:29 , Steve Lianoglou wrote: > > Anyway, somewhere in my codebase (for a long time now) I'm doing: > > from numpy.matlib import * > > Now, when I try to use this code, or just type that in the > interpreter, I get this message: > > AttributeError: 'module' object has no attribute 'pkgload' > > This doesn't happen when I do: > > import numpy.matlib as M > > Anyway, can anyone shed some light on this?
This is the behaviour you'd get if the module's __all__ attribute lists objects which don't exist in the module. Looks like a regression in r4659; fixed in SVN now as r4674. -- |>|\/|< /------------------------------------------------------------------\ |David M. Cooke http://arbutus.physics.mcmaster.ca/dmc/ |[EMAIL PROTECTED] _______________________________________________ Numpy-discussion mailing list [email protected] http://projects.scipy.org/mailman/listinfo/numpy-discussion
