From 27bdb7c650b49793615be89d775fa4e47a046dc2 Mon Sep 17 00:00:00 2001 From: Jurriaan Bremer Date: Sat, 8 Nov 2014 12:30:48 +0100 Subject: [PATCH] support hardcoded 64-bit integers --- uncompyle2/disas.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/uncompyle2/disas.py b/uncompyle2/disas.py index a9520034..4bb78f8a 100755 --- a/uncompyle2/disas.py +++ b/uncompyle2/disas.py @@ -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