From: Travis O. <oli...@ie...> - 2006-06-29 17:30:20
|
Zhang Le wrote: >> 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? > Well, Numeric had the sum function long before Python introduced one. NumPy adopted Numeric's sum function as well. -Travis |