Message170858
| Author |
skrah |
| Recipients |
brian.curtin, loewis, skrah, vstinner |
| Date |
2012年09月20日.22:05:45 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1348178745.93.0.180513629304.issue15993@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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 |
|
History
|
|---|
| 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 |
|