Author loewis
Recipients Arfrever, christian.heimes, georg.brandl, loewis, mark.dickinson, meador.inge, ncoghlan, pitrou, python-dev, skrah, vstinner
Date 2012-08-11.21:46:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Here is a more formal definition of my last proposal,

v and w are equal iff
v.shape() == w.shape() and
  ((v.format == w.format and v.tobytes() == w.tobytes()) or
   v.tolist() == w.tolist())
if tolist raises an exception for unsupported codes, they are not equal

As usual, the implementation can deviate from the spec as long as it behaves "as-if" it would use this exact algorithm (assuming unlimited memory).
Date User Action Args
2012-08-11 21:46:11loewissetrecipients: + loewis, georg.brandl, mark.dickinson, ncoghlan, pitrou, vstinner, christian.heimes, Arfrever, skrah, meador.inge, python-dev
2012-08-11 21:46:11loewissetmessageid: <>
2012-08-11 21:46:10loewislinkissue15573 messages
2012-08-11 21:46:10loewiscreate