[Numpy-discussion] Deprecating old names

Travis Oliphant oliphant.travis at ieee.org
Sun Apr 2 21:14:01 CDT 2006

Ed Schofield wrote:
> Tim Hochberg wrote, in a different thread:
>>     >>> len(dir(numpy))
>>    476
>> Does anyone know what all of that does? I certainly don't. And I doubt
>> anyone uses more than a fraction of that interface. I wouldn't be the
>> least bit suprised if there are old moldy parts of that are
>> essentially used. And, unused code is buggy code in my experience.
>>    "Perfection is achieved, not when there is nothing more to add, but
>>    when there is nothing left to take away." -- Antoine de Saint-Exupery
> I'd like to revise a proposal I made last week.  Then I proposed that we
> reduce namespace clutter by not importing the contents of the oldnumeric
> namespace by default.  But Travis didn't want to deprecate the
> functional interfaces (sum(), take(), etc), so I now propose instead
> that we split up the contents of oldnumeric.py into interfaces we want
> to keep around indefinitely and interfaces we don't. 

Good idea...


More information about the Numpy-discussion mailing list