Xiang Zhang added the comment:

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.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue23816>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to