[issue9249] struct.pack and Long Integer datatype should be 4, but is 8 bytes

2010-07-15 Thread hannes reuter
hannes reuter added the comment: Hi Mark, If you would add a footnote to the L/l formats table and mention what you wrote, it would make things clearer. Something along the lines like that I reformulated from your explanation: On most common platforms the 'l' and 'L' cod

[issue9249] struct.pack and Long Integer datatype should be 4, but is 8 bytes

2010-07-14 Thread hannes reuter
hannes reuter added the comment: Dear Marc, Thanks for taking time to answer that question. I understand that this comes from the native formating i specified, >>> calcsize('L') 8 >>> calcsize(' wrote: > > Mark Dickinson added the comment: >

[issue9249] struct.pack and Long Integer datatype should be 4, but is 8 bytes

2010-07-13 Thread hannes reuter
New submission from hannes reuter : on http://docs.python.org/library/struct.html in section 7.3.2.2. Format Characters in the table one can find that L -> unsigned long -> integer-> should have a 4 byte dataspace. (same applies for l), which seems to be correct -> 32bit/8=4 On