Message175302
The patch is too optimistic, it gives different results depending on the alignment of the memory buffer:
>>> b = b"abcd"*100
>>> hash(b[1:])
7264687738704559842
>>> hash(memoryview(b)[1:])
9054791208347464792
>>> memoryview(b)[1:] == b[1:]
True |
|
| Date |
User |
Action |
Args |
| 2012-11-10 23:26:40 | pitrou | set | recipients:
+ pitrou, gregory.p.smith, jcea, christian.heimes, serhiy.storchaka |
| 2012-11-10 23:26:40 | pitrou | set | messageid: <[email protected]> |
| 2012-11-10 23:26:40 | pitrou | link | issue16427 messages |
| 2012-11-10 23:26:40 | pitrou | create | |
|