Gregory P. Smith added the comment: The documentation for the struct module says:
"short is 2 bytes; int and long are 4 bytes; long long (__int64 on Windows) is 8 bytes" and lists 'l' and 'L' as the pack code for a C long. As it is implemented today, the documentation is incorrect. On an LP64 host (pretty much any 64-bit linux, bsd or unixish OS; not windows) a long is 8 bytes. __________________________________ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1789> __________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com