> I'm going to take a wild-ass guess and suggest that was a concious decision > by the authors. Shadowing builtins is generally a no-no. You just need to > be explicit instead of implicit: > > from numpy import min, max I see. But why by default sum is exported? Is that a wise decision?
In [1]: from numpy import * In [2]: help sum ------> help(sum) Help on function sum in module numpy.core.oldnumeric: sum(x, axis=0, dtype=None) ... Zhang Le Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Numpy-discussion mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/numpy-discussion
