Robert Kern wrote: > > When it does work, the reason is because the import mechanism will > place the "numeric" module into the "numpy.core" namespace as soon as > it can, so it is usually available in the __init__ after a "from > numeric import *". nose tries to control imports a little more tightly > as it navigates packages looking for tests, so it can sometimes expose > corner cases like this. >
Ok, thanks for the explanation. > In any case, it's okay to change the __init__.py's to be explicit > about doing both "import numeric" and "from numeric import *". > Is adding additional imports fine too ? Or should we fix those in the unittest instead to avoid more namespace pollution ? David _______________________________________________ Numpy-discussion mailing list [email protected] http://mail.scipy.org/mailman/listinfo/numpy-discussion
