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 benjamin.peterson, docs@python, martin.panter, r.david.murray, zbysz
Date 2014-12-16.22:57:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
It seems to me that the simplest fix is to document:

1. Struct.format attribute is a byte string
2. The input format strings for struct.pack(), Struct class, etc, are also allowed to be byte strings, for consistency (Issue 16349)

Here is a patch that does that, and adds some simple test cases.
Date User Action Args
2014-12-16 22:57:16martin.pantersetrecipients: + martin.panter, benjamin.peterson, r.david.murray, zbysz, docs@python
2014-12-16 22:57:16martin.pantersetmessageid: <>
2014-12-16 22:57:16martin.panterlinkissue21071 messages
2014-12-16 22:57:16martin.pantercreate