Lines Matching defs:struct
50 struct.error: Unpacking of a fixed-width field failed.
58 Something up the call stack is expected to catch IndexError and struct.error
83 import struct
259 format: The format string to pass to struct.unpack().
262 value_size = struct.calcsize(format)
263 local_unpack = struct.unpack
268 # Note that we expect someone up-stack to catch struct.error and convert
282 This code works around a bug in struct.unpack for non-finite 32-bit
286 local_unpack = struct.unpack
295 # In Python 2.4, struct.unpack will convert it to a finite 64-bit value.
307 # Note that we expect someone up-stack to catch struct.error and convert
318 This code works around a bug in struct.unpack for not-a-number.
321 local_unpack = struct.unpack
330 # bit set, it's not a number. In Python 2.4, struct.unpack will treat it
337 # Note that we expect someone up-stack to catch struct.error and convert