[Numpy-discussion] Median again

Jarrod Millman millman@berkeley....
Wed Jan 30 17:56:01 CST 2008


On Jan 30, 2008 10:41 AM, Travis E. Oliphant <oliphant@enthought.com> wrote:
> Yes, we could start to do that (spit out a warning in 1.0.5).  This
> should definitely be done in 1.0.6
>
> Perhaps we use axis=None to start with and then check for that and spit
> out the warning (and change axis to 0). Thanks for the pointer to
> PendingDeprecationWarning.
>
> We could also have an APIChangeWarning that we define in NumPy which
> would allow SciPy to use it as well.

+1
I think this sounds very reasonable and will fix a major NumPy wart.

-- 
Jarrod Millman
Computational Infrastructure for Research Labs
10 Giannini Hall, UC Berkeley
phone: 510.643.4014
http://cirl.berkeley.edu/


More information about the Numpy-discussion mailing list