Author skrah
Recipients Arfrever, christian.heimes, georg.brandl, loewis, mark.dickinson, meador.inge, ncoghlan, pitrou, python-dev, skrah, vstinner
Date 2012-08-17.11:48:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1345204111.42.0.419684326018.issue15573@psf.upfronthosting.co.za>
In-reply-to
Content
There is still one corner case involving NaNs: Released memoryviews always
compare equal. I took that over from the 3.2 implementation.

>>> import array
>>> a = array.array('d', [float('nan')])
>>> m = memoryview(a)
>>> m == m
False
>>> m.release()
>>> m == m
True


I guess we have to live with that, since it is of course impossible to access
the values of a released view.
History
Date User Action Args
2012-08-17 11:48:31skrahsetrecipients: + skrah, loewis, georg.brandl, mark.dickinson, ncoghlan, pitrou, vstinner, christian.heimes, Arfrever, meador.inge, python-dev
2012-08-17 11:48:31skrahsetmessageid: <1345204111.42.0.419684326018.issue15573@psf.upfronthosting.co.za>
2012-08-17 11:48:30skrahlinkissue15573 messages
2012-08-17 11:48:30skrahcreate