Author loewis
Recipients Arfrever, christian.heimes, georg.brandl, loewis, mark.dickinson, meador.inge, ncoghlan, pitrou, python-dev, skrah, vstinner
Date 2012-08-11.19:45:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
In-reply-to <>
> And, to be honest, I'd be quite happy for "congratulations, you have
> reached the threshold where you need NumPy rather than memoryview" to
> be the long term answer to getting "by value" comparison semantics.

IMO, this threshold is already reached when you start comparing 
memoryview objects. PEP 3118 apparently introduced it to replace
the buffer obejct, and specified that it should have __getitem__
and __setitem__ as magic methods; the PEP doesn't talk about comparison
at all. So I wonder where the desire to support comparison for
equality comes from (but I can accept that we have to deal with it
as it is there now). IMO, it would be reasonable to declare to memory
buffers as unequal if they denote different memory blocks in main
memory (i.e. at different addresses).
Date User Action Args
2012-08-11 19:45:44loewissetrecipients: + loewis, georg.brandl, mark.dickinson, ncoghlan, pitrou, vstinner, christian.heimes, Arfrever, skrah, meador.inge, python-dev
2012-08-11 19:45:44loewislinkissue15573 messages
2012-08-11 19:45:43loewiscreate