[Numpy-discussion] Simplifying array()

Perry Greenfield perry at stsci.edu
Thu Jan 13 09:54:12 EST 2005


On Jan 13, 2005, at 12:00 PM, Tim Hochberg wrote:

> Colin J. Williams wrote:
>
>> Rory leaves in type and typecode.  It would be good to eliminate this 
>> apparent overlap.  Why not
>> deprecate and then drop type?  As a compromise, either could be 
>> accepted as a NumArray.__init__
>> argument, since it is easy to distinguish between them.
>
> I thought typecode was eventually going away, not type. Either way, it 
> makes sense to drop one of them
> eventually. This should definately go through a period of deprecation 
> thought: it will certainly require that I
> fix a bunch of my code.

Tim is right about this. The rationale was that typecode is inaccurate 
since types are no longer represented by letter codes (one can still 
use them for backward compatibility).





More information about the NumPy-Discussion mailing list