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-21.09:27:28
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1348219649.82.0.150692458128.issue15993@psf.upfronthosting.co.za>
In-reply-to
Content
The high and low words of the 64-bit value are switched:

>>> a = array.array('Q', [1])
>>> m = memoryview(a)
>>> m[0]= 2**32+5
>>> m[0]
21474836481
>>> struct.unpack_from('8s', m, 0)
(b'\x01\x00\x00\x00\x05\x00\x00\x00',)


Can anyone reproduce this in a source build? I think this should
be a blocker.
History
Date User Action Args
2012-09-21 09:27:29skrahsetrecipients: + skrah, loewis, vstinner, brian.curtin
2012-09-21 09:27:29skrahsetmessageid: <1348219649.82.0.150692458128.issue15993@psf.upfronthosting.co.za>
2012-09-21 09:27:29skrahlinkissue15993 messages
2012-09-21 09:27:28skrahcreate