[Numpy-discussion] classmethods for ndarray

Travis Oliphant oliphant@ee.byu....
Thu Feb 1 18:51:22 CST 2007


Christopher Barker wrote:

>Travis Oliphant wrote:
>  
>
>>I'm thinking that we should have several.  For example all the fromXXX 
>>functions should probably be classmethods
>>
>>ndarray.frombuffer
>>ndarray.fromfile
>>    
>>
>
>would they still be accessible in their functional form in the numpy 
>namespace?
>
>  
>
Yes, until a major revision at which point they could (if deemed useful) 
be removed after a deprecation warning period.

-Travis




More information about the Numpy-discussion mailing list