You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-03 00:45:53 +08:00
Small changes
test code for pysource and bump lastest testing Python versions
This commit is contained in:
@@ -5,4 +5,4 @@ if [[ $0 == ${BASH_SOURCE[0]} ]] ; then
|
|||||||
echo "This script should be *sourced* rather than run directly through bash"
|
echo "This script should be *sourced* rather than run directly through bash"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
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'
|
||||||
|
@@ -2809,9 +2809,8 @@ if __name__ == "__main__":
|
|||||||
|
|
||||||
def deparse_test(co):
|
def deparse_test(co):
|
||||||
"This is a docstring"
|
"This is a docstring"
|
||||||
s = deparse_code2str(co, debug_opts={"asm": "after", "tree": True})
|
s = deparse_code2str(co)
|
||||||
# s = deparse_code2str(co, showasm=None, showast=False,
|
# s = deparse_code2str(co, debug_opts={"asm": "after", "tree": {'before': False, 'after': False}})
|
||||||
# showgrammar=True)
|
|
||||||
print(s)
|
print(s)
|
||||||
return
|
return
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user