On 2/4/13 12:04 AM, Ondřej Čertík wrote:
> Hi,
>
> Here are the last open issues for 1.7, there are 9 of them:
>
> https://github.com/numpy/numpy/issues?milestone=3&sort=updated&state=open
>

Here's something we noticed while working on getting 1.7rc1 into Sage 
with one of our doctests.  With numpy 1.5.1 (we skipped 1.6.x because of 
backwards compatibility issues...):

import numpy as np
print np.array([None, None]).any()

prints False, but with 1.7.rc1, we get None.

For comparison, in Python 2.6.1 and 3.3.0:

 >>> any([None,None])
False
 >>> print None or None
None

Was this change between 1.5.1 and 1.7 intentional?

Thanks,

Jason

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

Reply via email to