From 24011bb0da0618639fe4f6ee38861500ffd84101 Mon Sep 17 00:00:00 2001 From: rocky Date: Tue, 1 May 2018 02:48:41 -0400 Subject: [PATCH 1/2] Python 2.7.5 tolerance --- test/bytecode_2.7.5/01_while1.pyc | Bin 0 -> 170 bytes test/simple_source/bug275/01_while1.py | 9 +++++++++ uncompyle6/parsers/parse27.py | 5 +++++ 3 files changed, 14 insertions(+) create mode 100644 test/bytecode_2.7.5/01_while1.pyc create mode 100644 test/simple_source/bug275/01_while1.py diff --git a/test/bytecode_2.7.5/01_while1.pyc b/test/bytecode_2.7.5/01_while1.pyc new file mode 100644 index 0000000000000000000000000000000000000000..5fc9ef90080d9b1d078c54140bf1a3715f4480f8 GIT binary patch literal 170 zcmZSn%*&;~`ywit0ScIav;z$VrVa&Mz%WPSsB;O*b+()i*GV kFVD!#Nj20fs4U?Cs Date: Tue, 1 May 2018 03:10:46 -0400 Subject: [PATCH 2/2] Add if_not rule for Python 2.7 --- test/bytecode_2.7_run/05_dict_comp.pyc | Bin 0 -> 578 bytes uncompyle6/parsers/parse27.py | 3 +++ 2 files changed, 3 insertions(+) create mode 100644 test/bytecode_2.7_run/05_dict_comp.pyc diff --git a/test/bytecode_2.7_run/05_dict_comp.pyc b/test/bytecode_2.7_run/05_dict_comp.pyc new file mode 100644 index 0000000000000000000000000000000000000000..01ca52e91ab15bfeb0c5918e10213b0c489ae75e GIT binary patch literal 578 zcmbVI%}T>S5dL;sqbcY+2nqqA?ZsOuih9kVxfLZyveMWlTX(kpKzmW&z`HNtbNEEQ zfHPZB&kcNEW@l%<`F2`gyPeOE_i=%ruf_ip1|2e$z$-8Y499J}C{(~ygZAMyo)t=s zEZO49LNN(6)d4OwRthVPrNV7+z^xQv z88UAgcM&VeBrlY&!;a|qYv<{q@{>g5*&xvEhpK7d`-C$HL`NJ^RnKQ8C%bTk=@qt~ zJ2Np2RkrE%kMpuBd@kAU{E1}1Kr)gTiav?|SjB3s`s;``pAuX?itiu}6)7)M@*8W@ zu)WbXAJg#W|7Y