[Python-Dev] PyObject_RichCompareBool identity shortcut
Alexander Belopolsky
alexander.belopolsky at gmail.com
Thu Apr 28 07:37:28 CEST 2011
On Thu, Apr 28, 2011 at 12:33 AM, Robert Kern <robert.kern at gmail.com> wrote:
> On 2011-04-27 23:24 , Guido van Rossum wrote:
..
>> So do new masks get created when the outcome of an elementwise
>> operation is a NaN?
>
> No.
Yes.
>>> from MA import array
>>> print array([0])/array([0])
[-- ]
(I don't have numpy on this laptop, so the example is using Numeric,
but I hope you guys did not change that while I was not looking:-)
More information about the Python-Dev
mailing list