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 xiang.zhang
Recipients jonheiner, mark.dickinson, meador.inge, xiang.zhang
Date 2017-05-04.04:39:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1493872755.31.0.377468748241.issue23816@psf.upfronthosting.co.za>
In-reply-to
Content
My previous two messages are not clear enough so I delete them. Sorry for the noise. :-(

When unpacking a pascal string, you cannot simply specify a p format character otherwise struct calculate a wrong size of the format. That's why unpack fails. When count conflicts with the length byte, the smaller one is chosen. I think this is consistent with packing.
History
Date User Action Args
2017-05-04 04:39:15xiang.zhangsetrecipients: + xiang.zhang, mark.dickinson, meador.inge, jonheiner
2017-05-04 04:39:15xiang.zhangsetmessageid: <1493872755.31.0.377468748241.issue23816@psf.upfronthosting.co.za>
2017-05-04 04:39:15xiang.zhanglinkissue23816 messages
2017-05-04 04:39:15xiang.zhangcreate