Python 3.4: MAKE_FUNCTION starts to work.

This commit is contained in:
rocky
2015-12-19 11:15:48 -05:00
parent c0fcb5fc52
commit 93ab1f0281
12 changed files with 75 additions and 33 deletions

View File

@@ -191,7 +191,6 @@ def uncompyle_file(filename, outstream=None, showasm=False, showast=False):
if sys.platform.startswith('linux') and os.uname()[2][:2] in ['2.', '3.', '4.']:
def __memUsage():
mi = open('/proc/self/stat', 'r')
from trepan.api import debug; debug()
mu = mi.readline().split()[22]
mi.close()
return int(mu) / 1000000