[Numpy-discussion] Making numpy sensible: backward compatibility please

Robert Lupton the Good rhl@astro.princeton....
Fri Sep 28 17:18:14 CDT 2012


Gael puts in a plea for backward compatibility;  I totally agree.

Numpy sometimes goes out of its way to make this hard.  For example, when the syntax of histogram were changed you got a nice DepreciationWarning about an option to switch to the new behaviour; great.  But a few releases later that option went away and code carefully written to survive the transition stopped working;  that didn't make me a happy user.

					R

> Also, putting more emphasis on backward compatibility is possible. For instance, the 'order' parameter added to np.copy could have defaulted to the old behavior, 'K', for a year, with a DeprecationWarning, same thing for the casting rules.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 495 bytes
Desc: Message signed with OpenPGP using GPGMail
Url : http://mail.scipy.org/pipermail/numpy-discussion/attachments/20120928/429e09fc/attachment.bin 


More information about the NumPy-Discussion mailing list