You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-03 00:45:53 +08:00
Administrivia and more coverage
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
# -*- shell-script -*-
|
||||
# Sets PYVERSIONS to be pyenv versions that
|
||||
# we can use in the master branch.
|
||||
if [[ $0 == ${BASH_SOURCE[0]} ]] ; then
|
||||
echo "This script should be *sourced* rather than run directly through bash"
|
||||
exit 1
|
||||
|
@@ -1,4 +1,7 @@
|
||||
# -*- shell-script -*-
|
||||
# Sets PYVERSIONS to be pyenv versions that
|
||||
# we can use in the python-2.4 branch.
|
||||
|
||||
if [[ $0 == ${BASH_SOURCE[0]} ]] ; then
|
||||
echo "This script should be *sourced* rather than run directly through bash"
|
||||
exit 1
|
||||
|
9
admin-tools/pyenv-oldest-versions
Normal file
9
admin-tools/pyenv-oldest-versions
Normal file
@@ -0,0 +1,9 @@
|
||||
# -*- shell-script -*-
|
||||
# Sets PYVERSIONS to be all pyenv the oldest versions we have.
|
||||
# These are not covered (yet) by uncompyle6, although
|
||||
# some programs do work here.
|
||||
if [[ $0 == ${BASH_SOURCE[0]} ]] ; then
|
||||
echo "This script should be *sourced* rather than run directly through bash"
|
||||
exit 1
|
||||
fi
|
||||
export PYVERSIONS='2.1.3 2.2.3 2.3.7'
|
BIN
test/bytecode_2.1/10_del.pyc
Normal file
BIN
test/bytecode_2.1/10_del.pyc
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
test/bytecode_3.6/10_del.pyc
Normal file
BIN
test/bytecode_3.6/10_del.pyc
Normal file
Binary file not shown.
@@ -1,6 +1,9 @@
|
||||
# Ensures opcodes DELETE_SUBSCR and DELETE_GLOBAL are covered
|
||||
a = (1, 2, 3)
|
||||
# DELETE_NAME
|
||||
del a
|
||||
|
||||
# DELETE_SUBSCR
|
||||
b = [4, 5, 6]
|
||||
del b[1]
|
||||
del b[:]
|
||||
@@ -14,5 +17,14 @@ del d[1:3:2]
|
||||
|
||||
e = ('a', 'b')
|
||||
def foo():
|
||||
# covers DELETE_GLOBAL
|
||||
global e
|
||||
del e
|
||||
|
||||
def a():
|
||||
del z
|
||||
def b(y):
|
||||
# covers DELETE_FAST
|
||||
del y
|
||||
# LOAD_DEREF
|
||||
return z
|
||||
|
Reference in New Issue
Block a user