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 kiilerix
Recipients kiilerix
Date 2010-04-20.12:30:47
SpamBayes Score 2.1176506e-07
Marked as misclassified No
Message-id <1271766650.13.0.432849451622.issue8469@psf.upfronthosting.co.za>
In-reply-to
Content
The struct module is often used (at least by me) to implement protocols  and binary formats. That makes the exact sizes (number of bits/bytes) of the different types very important.

Please add the sizes to for example the table on http://docs.python.org/library/struct . I know that some of the sizes varies with the platform, and in these cases it is fine to define it in terms of the C types, but for Python programmers writing cross-platform code such variable types doesn't matter and are "never" used. (I assume that it is possible to specify all possible types in a cross-platform way, but I'm not sure and the answer is not obvious from the documentation.)
History
Date User Action Args
2010-04-20 12:30:50kiilerixsetrecipients: + kiilerix
2010-04-20 12:30:50kiilerixsetmessageid: <1271766650.13.0.432849451622.issue8469@psf.upfronthosting.co.za>
2010-04-20 12:30:48kiilerixlinkissue8469 messages
2010-04-20 12:30:47kiilerixcreate