Message168010
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:11 | loewis | set | recipients:
+ loewis, georg.brandl, mark.dickinson, ncoghlan, pitrou, vstinner, christian.heimes, Arfrever, skrah, meador.inge, python-dev |
2012-08-11 21:46:11 | loewis | set | messageid: <1344721571.39.0.0129155211751.issue15573@psf.upfronthosting.co.za> |
2012-08-11 21:46:10 | loewis | link | issue15573 messages |
2012-08-11 21:46:10 | loewis | create | |
|