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 martin.panter
Recipients martin.panter, takluyver
Date 2012-10-28.22:36:28
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1351463788.74.0.0285916359946.issue16349@psf.upfronthosting.co.za>
In-reply-to
Content
Also it would be nice to clarify if struct.Struct.format is meant to be a byte string. Reading the documentation and examples I expected a character string. It was an issue for me when embedding one structure within another:

HSF_VOL_DESC = Struct("< B 5s B")

# Python 3.2.3's "Struct.format" is actually a byte string
NSR_DESC = Struct(HSF_VOL_DESC.format.decode() + "B")
History
Date User Action Args
2012-10-28 22:36:28martin.pantersetrecipients: + martin.panter, takluyver
2012-10-28 22:36:28martin.pantersetmessageid: <1351463788.74.0.0285916359946.issue16349@psf.upfronthosting.co.za>
2012-10-28 22:36:28martin.panterlinkissue16349 messages
2012-10-28 22:36:28martin.pantercreate