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 belopolsky, skrah
Date 2012-09-03.17:43:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1346694217.28.0.915734084119.issue15857@psf.upfronthosting.co.za>
In-reply-to
Content
'>' in struct syntax implies "standard size" for 'l', which is 4 bytes.
ctypes uses machine size for c_long, so on an LP64 machine you can unpack 
the data as:

>>> struct.unpack_from('>qq', a)
(100, 200)
History
Date User Action Args
2012-09-03 17:43:37skrahsetrecipients: + skrah, belopolsky
2012-09-03 17:43:37skrahsetmessageid: <1346694217.28.0.915734084119.issue15857@psf.upfronthosting.co.za>
2012-09-03 17:43:36skrahlinkissue15857 messages
2012-09-03 17:43:36skrahcreate