Message170858
Both lzma and memoryview use PyLong_AsUnsignedLongLong() in the
affected code paths. I get this with the msi installed python.exe:
>>> import array
>>> a = array.array('Q', [1,2,3,4])
>>> m = memoryview(a)
>>> m[0] = 4
>>> m[0]
17179869184
>>>
And the correct result with the self-compiled (PGO) python.exe:
>>> import array
>>> a = array.array('Q', [1,2,3,4])
>>> m = memoryview(a)
>>> m[0] = 4
>>> m[0]
4 |
|
Date |
User |
Action |
Args |
2012-09-20 22:05:45 | skrah | set | recipients:
+ skrah, loewis, vstinner, brian.curtin |
2012-09-20 22:05:45 | skrah | set | messageid: <1348178745.93.0.180513629304.issue15993@psf.upfronthosting.co.za> |
2012-09-20 22:05:45 | skrah | link | issue15993 messages |
2012-09-20 22:05:45 | skrah | create | |
|