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 Antony.Lee
Recipients Antony.Lee, docs@python, mark.dickinson, martin.panter, meador.inge, serhiy.storchaka
Date 2016-03-11.07:36:31
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1457681791.47.0.970476132517.issue26535@psf.upfronthosting.co.za>
In-reply-to
Content
I think mentioning calcsize is still helpful, so perhaps something like
"The buffer must contain exactly as many bytes (I think this is clearer than "the amount of data") as required by the format (this number can be obtained as `struct.calcsize(fmt)`)"?  (and likewise for "unpack_from" and "iter_unpack").
History
Date User Action Args
2016-03-11 07:36:31Antony.Leesetrecipients: + Antony.Lee, mark.dickinson, meador.inge, docs@python, martin.panter, serhiy.storchaka
2016-03-11 07:36:31Antony.Leesetmessageid: <1457681791.47.0.970476132517.issue26535@psf.upfronthosting.co.za>
2016-03-11 07:36:31Antony.Leelinkissue26535 messages
2016-03-11 07:36:31Antony.Leecreate