Alexander Belopolsky <alexander.belopol...@gmail.com> added the comment:
On Tue, Apr 20, 2010 at 10:30 AM, Mark Dickinson <rep...@bugs.python.org> wrote: .. > It would be possible to add the 'standard' sizes to that table (i.e. the > sizes that you get when using '<', '>', etc.); would that be helpful? The documentation already includes standard sizes in text: "Standard size and alignment are as follows: no alignment is required for any type (so you have to use pad bytes); short is 2 bytes; int and long are 4 bytes; long long (__int64 on Windows) is 8 bytes; float and double are 32-bit and 64-bit IEEE floating point numbers, respectively. _Bool is 1 byte." It may be helpful to add "Standard size" column to the code table with a footnote that it only applies when <, > or ! code is used and that for native sizes one should consult struct.calcsize(). ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue8469> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com