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 mark.dickinson
Recipients Alexander.Belopolsky, kiilerix, mark.dickinson
Date 2010-04-21.08:23:01
SpamBayes Score 5.4234395e-14
Marked as misclassified No
Message-id <1271838184.15.0.824578058412.issue8469@psf.upfronthosting.co.za>
In-reply-to
Content
Thanks for the doc suggestions.

Actually, the current docs were revised recently;  this issue is a helpful reminder to me that those doc revisions need to be backported. :)  If you want to see the current docs, look at:

http://docs.python.org/dev/library/struct.html

I'm +0 on adding the standard sizes to the table of format codes.

I also agree it might make sense to swap the 'Format Character' section and the 'Byte Order, Size and Alignment' section.

That's all for now;  I'll look at this properly sometime soon.

The standard/native terminology is fairly ingrained;  I'm not sure whether it's really worth changing it, but we can look at the explanations and make sure that they're clear.

> Programming skills and platform knowledge at C level should not be a 
> requirement to understand and use struct, so perhaps the references to > C should be less high-profile,

Agreed, though I think the references to C should certainly be there, since they will help some users, and since part of the struct module's raison d'etre is to allow communication with data written/read by C programs.

The note about ILqQ returning Python longs might be better omitted;  the difference between int and long should be irrelevant to most users.
History
Date User Action Args
2010-04-21 08:23:04mark.dickinsonsetrecipients: + mark.dickinson, kiilerix, Alexander.Belopolsky
2010-04-21 08:23:04mark.dickinsonsetmessageid: <1271838184.15.0.824578058412.issue8469@psf.upfronthosting.co.za>
2010-04-21 08:23:02mark.dickinsonlinkissue8469 messages
2010-04-21 08:23:01mark.dickinsoncreate