Message232768
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:16 | martin.panter | set | recipients:
+ martin.panter, benjamin.peterson, r.david.murray, zbysz, docs@python |
2014-12-16 22:57:16 | martin.panter | set | messageid: <1418770636.35.0.11657145904.issue21071@psf.upfronthosting.co.za> |
2014-12-16 22:57:16 | martin.panter | link | issue21071 messages |
2014-12-16 22:57:16 | martin.panter | create | |
|