This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

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:45skrahsetrecipients: + skrah, loewis, vstinner, brian.curtin
2012-09-20 22:05:45skrahsetmessageid: <1348178745.93.0.180513629304.issue15993@psf.upfronthosting.co.za>
2012-09-20 22:05:45skrahlinkissue15993 messages
2012-09-20 22:05:45skrahcreate