Supoer multiple parsers, specifically for Python2 and Python3. In the

process some OO cleanup and some global variable hacks removed.
This commit is contained in:
rocky
2015-12-16 22:08:29 -05:00
parent a362b47b15
commit 2dc8375ed0
16 changed files with 1376 additions and 715 deletions

View File

@@ -5,14 +5,6 @@ from __future__ import print_function
from uncompyle6 import uncompyle
import sys, inspect
if (sys.version_info > (3, 0)):
from io import StringIO
else:
from StringIO import StringIO
from collections import namedtuple
NodeInfo = namedtuple("NodeInfo", "node start finish")
def uncompyle_test():
frame = inspect.currentframe()
try: