You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-02 16:44:46 +08:00
Merge pull request #23 from jbremer/master
support hardcoded 64-bit integers (sorry, so late lol)
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user