[Numpy-discussion] classmethods for ndarray
Stefan van der Walt
stefan at sun.ac.za
Fri Feb 2 17:15:13 EST 2007
On Thu, Feb 01, 2007 at 05:51:22PM -0700, Travis Oliphant wrote:
> 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.
That would be a happy day. I'd love to see the numpy namespace go on
a diet...
Cheers
Stéfan
More information about the NumPy-Discussion
mailing list