Fix up Python 3.2, 3.3, and 3.4 cross-version scanners

Try travis 2.6 and 3.3
This commit is contained in:
rocky
2015-12-26 10:19:26 -05:00
parent e8ee3ac751
commit 008bd79719
30 changed files with 864 additions and 571 deletions

View File

@@ -1664,7 +1664,7 @@ if __name__ == '__main__':
def deparse_test(co):
"This is a docstring"
sys_version = sys.version_info.major + (sys.version_info.minor / 10.0)
deparsed = deparse_code(sys_version, co, showasm=False, showast=False)
deparsed = deparse_code(sys_version, co, showasm=True, showast=True)
# deparsed = deparse_code(sys_version, co, showasm=False, showast=False,
# showgrammar=True)
print(deparsed.text)