Message169757
| Author | skrah |
|---|---|
| Recipients | Alexander.Belopolsky, Arfrever, Dag.Sverre.Seljebotn, belopolsky, christian.heimes, georg.brandl, loewis, mark.dickinson, meador.inge, ncoghlan, pitrou, python-dev, scoder, skrah, vstinner |
| Date | 2012-09-03.12:38:17 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1346675898.83.0.337835500195.issue15814@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
Small nitpick: multi-dimensional hashing wasn't really accidental, it was perfectly aligned with the previous statically typed equality definition. When I suggested PyBuffer_Hash = hash(obj.tobytes()) on python-dev for non-contiguous and multi-dimensional arrays, I got a +1 from Raymond (which I now see was a private message). I don't see what could possibly be ill-defined about using the tobytes() definition for ND-arrays. In all places memoryview now uses the logical array, which is displayed by tolist(). Leaving aside static typing, both the previous and the new equality definitions regarded C and Fortran arrays with the same list outputs as equal. |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2012-09-03 12:38:18 | skrah | set | recipients: + skrah, loewis, georg.brandl, mark.dickinson, ncoghlan, belopolsky, pitrou, scoder, vstinner, christian.heimes, Arfrever, meador.inge, Alexander.Belopolsky, python-dev, Dag.Sverre.Seljebotn |
| 2012-09-03 12:38:18 | skrah | set | messageid: <1346675898.83.0.337835500195.issue15814@psf.upfronthosting.co.za> |
| 2012-09-03 12:38:18 | skrah | link | issue15814 messages |
| 2012-09-03 12:38:17 | skrah | create | |