From 8734608929d2a04e22754fd1284446194fb25e1b Mon Sep 17 00:00:00 2001 From: rocky Date: Mon, 9 Apr 2018 01:36:42 -0400 Subject: [PATCH] Small doc typos --- test/bytecode_2.4_run/README | 4 ++-- test/bytecode_2.5_run/README | 6 +++--- test/bytecode_2.6_run/README | 6 +++--- test/bytecode_2.7_run/README | 6 +++--- test/bytecode_3.0_run/README | 6 +++--- test/bytecode_3.1_run/README | 6 +++--- test/bytecode_3.2_run/README | 6 +++--- test/bytecode_3.3_run/README | 6 +++--- test/bytecode_3.4_run/README | 6 +++--- test/bytecode_3.5_run/README | 6 +++--- test/bytecode_3.6_run/README | 5 +++++ uncompyle6/bin/uncompile.py | 5 ++++- 12 files changed, 38 insertions(+), 30 deletions(-) create mode 100644 test/bytecode_3.6_run/README diff --git a/test/bytecode_2.4_run/README b/test/bytecode_2.4_run/README index 3fa5e010..d5f995bc 100644 --- a/test/bytecode_2.4_run/README +++ b/test/bytecode_2.4_run/README @@ -1,5 +1,5 @@ These are byte-compiled programs compiled by Python 2.4 -Furthrmore the programs here are self-checking: when decompiled and -then run again in a 2.4 interpreter, they will give an error if they +Furthermore, the programs here are self-checking: when decompiled and +then run again in a 2.4 interpreter, they are likely to give an error when they are miscompiled. diff --git a/test/bytecode_2.5_run/README b/test/bytecode_2.5_run/README index 097cc5ba..15225b15 100644 --- a/test/bytecode_2.5_run/README +++ b/test/bytecode_2.5_run/README @@ -1,5 +1,5 @@ These are byte-compiled programs compiled by Python 2.5. -Furthrmore the programs here are self-checking: when decompiled and -then run again in a 2.5 interpreter, they will give an error if they -are miscompiled. +Furthermore the programs here are self-checking: when decompiled and +then run again in a 2.5 interpreter, they are likely to give an error +when they are miscompiled. diff --git a/test/bytecode_2.6_run/README b/test/bytecode_2.6_run/README index a827636a..7bd1ef10 100644 --- a/test/bytecode_2.6_run/README +++ b/test/bytecode_2.6_run/README @@ -1,5 +1,5 @@ These are byte-compiled programs compiled by Python 2.6. -Furthrmore the programs here are self-checking: when decompiled and -then run again in a 2.6 interpreter, they will give an error if they -are miscompiled. +Furthermore the programs here are self-checking: when decompiled and +then run again in a 2.6 interpreter, they are likely to give an error +when they are miscompiled. diff --git a/test/bytecode_2.7_run/README b/test/bytecode_2.7_run/README index 50815908..1785def5 100644 --- a/test/bytecode_2.7_run/README +++ b/test/bytecode_2.7_run/README @@ -1,5 +1,5 @@ These are byte-compiled programs compiled by Python 2.7. -Furthrmore the programs here are self-checking: when decompiled and -then run again in a 2.7 interpreter, they will give an error if they -are miscompiled. +Furthermore, the programs here are self-checking: when decompiled and +then run again in a 2.7 interpreter, they are likely to give an error +when they are miscompiled. diff --git a/test/bytecode_3.0_run/README b/test/bytecode_3.0_run/README index c89d5d61..712df469 100644 --- a/test/bytecode_3.0_run/README +++ b/test/bytecode_3.0_run/README @@ -1,5 +1,5 @@ These are byte-compiled programs compiled by Python 3.0. -Furthrmore the programs here are self-checking: when decompiled and -then run again in a 3.0 interpreter, they will give an error if they -are miscompiled. +Furthermore, the programs here are self-checking: when decompiled and +then run again in a 3.0 interpreter, they are likely to give an error +when they are miscompiled. diff --git a/test/bytecode_3.1_run/README b/test/bytecode_3.1_run/README index 96ace639..b176067e 100644 --- a/test/bytecode_3.1_run/README +++ b/test/bytecode_3.1_run/README @@ -1,5 +1,5 @@ These are byte-compiled programs compiled by Python 3.1. -Furthrmore the programs here are self-checking: when decompiled and -then run again in a 3.1 interpreter, they will give an error if they -are miscompiled. +Furthrmore, the programs here are self-checking: when decompiled and +then run again in a 3.1 interpreter, they are likely to give an error +when they are miscompiled. diff --git a/test/bytecode_3.2_run/README b/test/bytecode_3.2_run/README index 7f82a6f6..733e1295 100644 --- a/test/bytecode_3.2_run/README +++ b/test/bytecode_3.2_run/README @@ -1,5 +1,5 @@ These are byte-compiled programs compiled by Python 3.2. -Furthrmore the programs here are self-checking: when decompiled and -then run again in a 3.2 interpreter, they will give an error if they -are miscompiled. +Furthermore, the programs here are self-checking: when decompiled and +then run again in a 3.2 interpreter, they are likely to give an error +when they are miscompiled. diff --git a/test/bytecode_3.3_run/README b/test/bytecode_3.3_run/README index 68c21035..71a4566f 100644 --- a/test/bytecode_3.3_run/README +++ b/test/bytecode_3.3_run/README @@ -1,5 +1,5 @@ These are byte-compiled programs compiled by Python 3.3. -Furthrmore the programs here are self-checking: when decompiled and -then run again in a 3.3 interpreter, they will give an error if they -are miscompiled. +Furthermore, the programs here are self-checking: when decompiled and +then run again in a 3.3 interpreter, they are likely to give an error +when they are miscompiled. diff --git a/test/bytecode_3.4_run/README b/test/bytecode_3.4_run/README index e60f8376..c195a4cf 100644 --- a/test/bytecode_3.4_run/README +++ b/test/bytecode_3.4_run/README @@ -1,5 +1,5 @@ These are byte-compiled programs compiled by Python 3.4. -Furthrmore the programs here are self-checking: when decompiled and -then run again in a 3.4 interpreter, they will give an error if they -are miscompiled. +Furthermore, the programs here are self-checking: when decompiled and +then run again in a 3.4 interpreter, they are likely to give an error +when they are miscompiled. diff --git a/test/bytecode_3.5_run/README b/test/bytecode_3.5_run/README index a5f9700b..b5f074d4 100644 --- a/test/bytecode_3.5_run/README +++ b/test/bytecode_3.5_run/README @@ -1,5 +1,5 @@ These are byte-compiled programs compiled by Python 3.5. -Furthrmore the programs here are self-checking: when decompiled and -then run again in a 3.5 interpreter, they will give an error if they -are miscompiled. +Furthrmore, the programs here are self-checking: when decompiled and +then run again in a 3.5 interpreter, they are likely to give an error +when they are miscompiled. diff --git a/test/bytecode_3.6_run/README b/test/bytecode_3.6_run/README new file mode 100644 index 00000000..ae716bc4 --- /dev/null +++ b/test/bytecode_3.6_run/README @@ -0,0 +1,5 @@ +These are byte-compiled programs compiled by Python 3.6. + +Furthrmore, the programs here are self-checking: when decompiled and +then run again in a 3.6 interpreter, they are likely to give an error +when they are miscompiled. diff --git a/uncompyle6/bin/uncompile.py b/uncompyle6/bin/uncompile.py index 4b5c875e..c8e5d664 100755 --- a/uncompyle6/bin/uncompile.py +++ b/uncompyle6/bin/uncompile.py @@ -70,7 +70,10 @@ def usage(): def main_bin(): if not (sys.version_info[0:2] in ((2, 6), (2, 7), (3, 1), (3, 2), (3, 3), - (3, 4), (3, 5), (3, 6))): + (3, 4), (3, 5), (3, 6), + # (3, 7) + )): + # print('Error: %s requires Python 2.6-2.7, or 3.1-3.7' % program, print('Error: %s requires Python 2.6-2.7, or 3.1-3.6' % program, file=sys.stderr) sys.exit(-1)