title: Python struct giving incorrect length
body: <p>Couple of issues with python struct. Please let me know what is correct.</p>
  
  <ol>
  <li><p><a href="https://docs.python.org/2/library/struct.html#module-struct" rel="nofollow noreferrer">Document</a> mentions length of l/L as 4 but when checked with calcsize it gives 8.</p>
  
  <pre><code>&gt;&gt;&gt; struct.calcsize('l')
  8
  </code></pre></li>
  <li><p>struct module calcsize is giving wrong size. If individual element size is calculated, it's sum is 90 but when calculated together with calcsize it gives 92.</p>
  
  <pre><code>&gt;&gt;&gt; struct.calcsize('8s2sIII30s32s6s')
  92
  
  &gt;&gt;&gt; struct.calcsize('8s')
  8
  
  &gt;&gt;&gt; struct.calcsize('2s')
  2
  
  &gt;&gt;&gt; struct.calcsize('III')
  12
  
  &gt;&gt;&gt; struct.calcsize('30s')
  30
  
  &gt;&gt;&gt; struct.calcsize('32s')
  32
  
  &gt;&gt;&gt; struct.calcsize('6s')
  6
  </code></pre></li>
  </ol>