On Montag 07 April 2008, Stéfan van der Walt wrote: > I wouldn't exactly call 494 functions "just enough namespace clutter"; > I'd much prefer to have a clean api to work with.
Not to bicker, but... >>> import numpy >>> len(dir(numpy)) 494 >>> numpy.__version__ '1.0.4' >>> funcs = [s for s in dir(numpy) if type(getattr(numpy, s)) in [type(numpy.array), type(numpy.who)]] >>> len(funcs) 251 >>> classes = [s for s in dir(numpy) if type(getattr(numpy, s)) == type(numpy.ndarray)] >>> len(classes) 88 >>> ufuncs = [s for s in dir(numpy) if type(getattr(numpy, s)) == type(numpy.sin)] >>> len(ufuncs) 69 >>> (and, therefore, another 69 names of "fluff") I honestly don't see much of a problem. The only things that maybe should not have been added to numpy.* are the polynomial functions and the convolution windows, conceptually. But in my book that's not big enough to even think of breaking people's code for. Andreas Proud Member of the Flat Earth Society
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Numpy-discussion mailing list Numpy-discussion@scipy.org http://projects.scipy.org/mailman/listinfo/numpy-discussion