[Numpy-discussion] future directions

David Goldsmith d_l_goldsmith at yahoo.com
Fri Aug 28 04:30:07 EDT 2009


--- On Thu, 8/27/09, Johan Grönqvist <johan.gronqvist at 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 at scipy.org
> http://mail.scipy.org/mailman/listinfo/numpy-discussion
> 


      



More information about the NumPy-Discussion mailing list