Struct usage and varying sizes of h, l, etc

Robert Kern robert.kern at gmail.com
Thu May 22 16:00:28 EDT 2008


Ethan Furman wrote:

> Next question:  when using struct.pack to store an integer, I get a 
> deprecation warning if the int is too big... I would rather have an 
> error.  Is there a setting somewhere that controls this?

http://docs.python.org/dev/library/warnings

-- 
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless enigma
  that is made terrible by our own mad attempt to interpret it as though it had
  an underlying truth."
   -- Umberto Eco




More information about the Python-list mailing list