From 97354532836eb874f5d1911b1dd960d9dff9a696 Mon Sep 17 00:00:00 2001 From: rocky Date: Fri, 1 Apr 2022 03:11:59 -0400 Subject: [PATCH] Small changes test code for pysource and bump lastest testing Python versions --- admin-tools/pyenv-newest-versions | 2 +- uncompyle6/semantics/pysource.py | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/admin-tools/pyenv-newest-versions b/admin-tools/pyenv-newest-versions index 79d2bf39..1cde8e76 100644 --- a/admin-tools/pyenv-newest-versions +++ b/admin-tools/pyenv-newest-versions @@ -5,4 +5,4 @@ if [[ $0 == ${BASH_SOURCE[0]} ]] ; then echo "This script should be *sourced* rather than run directly through bash" exit 1 fi -export PYVERSIONS='3.6.15 3.7.12 pyston-2.3 3.8.12 3.9.9 3.10.0' +export PYVERSIONS='3.6.15 3.7.13 pyston-2.3 3.8.13 3.9.10 3.10.3' diff --git a/uncompyle6/semantics/pysource.py b/uncompyle6/semantics/pysource.py index bf5834ca..286bdb82 100644 --- a/uncompyle6/semantics/pysource.py +++ b/uncompyle6/semantics/pysource.py @@ -2809,9 +2809,8 @@ if __name__ == "__main__": def deparse_test(co): "This is a docstring" - s = deparse_code2str(co, debug_opts={"asm": "after", "tree": True}) - # s = deparse_code2str(co, showasm=None, showast=False, - # showgrammar=True) + s = deparse_code2str(co) + # s = deparse_code2str(co, debug_opts={"asm": "after", "tree": {'before': False, 'after': False}}) print(s) return