[Numpy-discussion] future directions

David Goldsmith d_l_goldsmith@yahoo....
Fri Aug 28 03:30:07 CDT 2009


--- On Thu, 8/27/09, Johan Grönqvist <johan.gronqvist@gmail.com> wrote:

> If the proposed changes seem important, I would appreciate
> having a 
> namespace called numpy.legacy or numpy.deprecated or
> numpy.1dotX, that 
> retains all the old functions. That would only be a small
> annoyance (to 
> me) if importing the right thing could be handled in code
> when moving 
> between machines having different versions of numpy.
> 
> (something like
> from numpy import version
> if version > x.y:
>     import numpy.legacy
> else:
>     import numpy
> )
> 
> All IMHO, my 2 cents etc.

No need to be H about it ;-) it sounds like a pretty good compromise IYAM (but I won't be surprised by a deluge of explanations as to why it isn't).

DG

> 
> Thanks
> 
> / johan
> 
> _______________________________________________
> NumPy-Discussion mailing list
> NumPy-Discussion@scipy.org
> http://mail.scipy.org/mailman/listinfo/numpy-discussion
> 


      


More information about the NumPy-Discussion mailing list