Merge pull request #23 from jbremer/master

support hardcoded 64-bit integers (sorry, so late lol)
This commit is contained in:
Mysterie
2014-11-26 23:43:34 +01:00

View File

@@ -242,8 +242,7 @@ def load(fp):
elif marshalType == 'i':
return int(unpack('i', fp.read(4))[0])
elif marshalType == 'I':
raise KeyError, marshalType
return None
return unpack('q', fp.read(8))[0]
elif marshalType == 'x':
raise KeyError, marshalType
return None