You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-03 00:45:53 +08:00
support hardcoded 64-bit integers
This commit is contained in:
@@ -242,8 +242,7 @@ def load(fp):
|
|||||||
elif marshalType == 'i':
|
elif marshalType == 'i':
|
||||||
return int(unpack('i', fp.read(4))[0])
|
return int(unpack('i', fp.read(4))[0])
|
||||||
elif marshalType == 'I':
|
elif marshalType == 'I':
|
||||||
raise KeyError, marshalType
|
return unpack('q', fp.read(8))[0]
|
||||||
return None
|
|
||||||
elif marshalType == 'x':
|
elif marshalType == 'x':
|
||||||
raise KeyError, marshalType
|
raise KeyError, marshalType
|
||||||
return None
|
return None
|
||||||
|
Reference in New Issue
Block a user