release: stalled again?

It seems to be python version-dependent, my system python is 2.6 and I
get the warning:

(master)dreamweaver[matplotlib]> python -c 'import numpy as np; print
np.__version__; x = np.random.rand(10); np.putmask(x, x<0.5, 0.)'
2.0.0.dev-aded70c
-c:1: DeprecationWarning: putmask has been deprecated. Use copyto with
'where' as the mask instead

but with 2.7 I don't:

(master)dreamweaver[matplotlib]> python2.7 -c 'import numpy as np;
print np.__version__; x = np.random.rand(10); np.putmask(x, x<0.5,
0.)'
2.0.0.dev-aded70c

Cheers,

f

···

On Sun, Sep 18, 2011 at 12:41 PM, John Hunter <jdh2358@...149...> wrote:

I'm on 11.04, 64 bit also.

What does this give you?

> ython -c 'import numpy as np; print np.__version__; x =
np.random.rand(10); np.putmask(x, x<0.5, 0.)'

I only get the version string 2.0.0.dev-aded70c, no warning.

I'm on 11.04, 64 bit also.

What does this give you?

  > ython -c 'import numpy as np; print np.__version__; x =
np.random.rand(10); np.putmask(x, x<0.5, 0.)'

I only get the version string 2.0.0.dev-aded70c, no warning.

It seems to be python version-dependent, my system python is 2.6 and I
get the warning:

(master)dreamweaver[matplotlib]> python -c 'import numpy as np; print
np.__version__; x = np.random.rand(10); np.putmask(x, x<0.5, 0.)'
2.0.0.dev-aded70c
-c:1: DeprecationWarning: putmask has been deprecated. Use copyto with
'where' as the mask instead

but with 2.7 I don't:

(master)dreamweaver[matplotlib]> python2.7 -c 'import numpy as np;
print np.__version__; x = np.random.rand(10); np.putmask(x, x<0.5,
0.)'
2.0.0.dev-aded70c

Right.

http://docs.python.org/dev/whatsnew/2.7.html explains the change in handling DeprecationWarning.

Eric

···

On 09/18/2011 09:46 AM, Fernando Perez wrote:

On Sun, Sep 18, 2011 at 12:41 PM, John Hunter<jdh2358@...149...> wrote:

Cheers,

f

------------------------------------------------------------------------------
BlackBerry&reg; DevCon Americas, Oct. 18-20, San Francisco, CA
http://p.sf.net/sfu/rim-devcon-copy2
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel