Small changes

test code for pysource and bump lastest testing Python versions
This commit is contained in:
rocky 2022-04-01 03:11:59 -04:00
parent 7f9014fb05
commit 9735453283
2 changed files with 3 additions and 4 deletions

View File

@ -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'

View File

@ -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