title: DeprecationWarning: struct integer overflow masking is deprecated
body: <p>I have the following problem. The code looks like:</p>
  
  <pre><code>import  binascii, struct
  def crc32up(data):
      # little endian!!
      bin = struct.pack ('&lt;I', binascii.crc32 (data))
      return string.upper (binascii.hexlify (bin))
  
  # Generate crc of time code.
  #
  timecrc_code = crc32up(time_code)
  </code></pre>
  
  <p>and the warning is:</p>
  
  <pre><code> DeprecationWarning: struct integer overflow masking is deprecated
   timecrc_code = crc32up(time_code)
  </code></pre>
  
  <p>What is causing this error?</p>