On Tue, Feb 3, 2009 at 6:25 PM, bob gailer <[email protected]> wrote:

> >>> struct.calcsize('s')
> 1
> >>> struct.calcsize('d')
> 8
> >>> struct.calcsize('sd')
> 16
>
> Why? Should not that be 9?
>

>>> struct.calcsize('ds')
9

at least on the current box I'm running. It also gave me this:

>>> struct.calcsize('sd')
12

so I must confess suspicion...

HTH though,
Wayne
_______________________________________________
Tutor maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/tutor

Reply via email to