From 874d196e5cf2b79c66321c5880399da67f1bcc89 Mon Sep 17 00:00:00 2001 From: rocky Date: Thu, 13 Feb 2020 04:59:08 -0500 Subject: [PATCH] 3.x ifelsestmtc reduction rule fix --- test/bytecode_3.3_run/03_if_elif.pyc | Bin 0 -> 668 bytes test/bytecode_3.5_run/03_if_elif.pyc | Bin 0 -> 556 bytes test/bytecode_3.6/03_if_elif.pyc-notyet | Bin 207 -> 0 bytes test/bytecode_3.6_run/03_if_elif.pyc | Bin 0 -> 482 bytes test/bytecode_3.7/03_if_elif.pyc | Bin 211 -> 0 bytes test/bytecode_3.7_run/03_if_elif.pyc | Bin 0 -> 486 bytes test/simple_source/stmts/03_if_elif.py | 23 +++++++++++++++++-- test/stdlib/3.3-exclude.sh | 8 ------- test/stdlib/3.4-exclude.sh | 4 ---- test/stdlib/3.5-exclude.sh | 12 ---------- test/stdlib/3.6-exclude.sh | 4 +--- test/stdlib/3.7-exclude.sh | 6 ++--- uncompyle6/parsers/reducecheck/ifelsestmt.py | 13 ++++++++++- 13 files changed, 36 insertions(+), 34 deletions(-) create mode 100644 test/bytecode_3.3_run/03_if_elif.pyc create mode 100644 test/bytecode_3.5_run/03_if_elif.pyc delete mode 100644 test/bytecode_3.6/03_if_elif.pyc-notyet create mode 100644 test/bytecode_3.6_run/03_if_elif.pyc delete mode 100644 test/bytecode_3.7/03_if_elif.pyc create mode 100644 test/bytecode_3.7_run/03_if_elif.pyc diff --git a/test/bytecode_3.3_run/03_if_elif.pyc b/test/bytecode_3.3_run/03_if_elif.pyc new file mode 100644 index 0000000000000000000000000000000000000000..85f3a61180bfdbf3647b34c11fd5cba05b65a3f8 GIT binary patch literal 668 zcma)2O-sW-5S>lZG=|iJ(u+l;x1iJtf?h-vX^(}{n+KQLY+x}Tb+;=D^`ia*@7}!n zKRo!KoY@4dcyY7yc4pq2?99GJtuW{guHIdM8LX@Z`e$hR3qb&=9tZ}iZT&XfVu)l9 zk~Pq~uyEmtQL?DSM^JREer#ok4D`5`p(er2;055)1K~m9(0)dA;l=@dUn^_MvsA-U zuPYQ5`j%>1>f<+6Re6^Btf?e`NgU!tGY5edon#kidJkcVvu?tYQG>^i42qBfy-mb~ z(vD4|H;M7lU?dr$r1y%^Af~?=%1td^S6QM=7eUK>o(Zl?qh_M77x_Z>4-UCZxyWR? zKYuV0syI)xvQ&w@<9vszC<)AGEi{jX?2oEyqlqd>Qt1;=gEBxE4P)xikk5HB%?0Om zkV@dy?*t9FZ>x4^qN+L#0)5LL30h=i%|e(oUl3dTji!Uq*0NxxOfLn+hYR7=U;IH6Nz zzIkq~HuEG)yT)W@wbO5Vt44XJJUp3ZYBABL9NArxK*YkQ4&o?qb1jU+y5R2zXwGHg literal 0 HcmV?d00001 diff --git a/test/bytecode_3.6/03_if_elif.pyc-notyet b/test/bytecode_3.6/03_if_elif.pyc-notyet deleted file mode 100644 index a4e8a24883bc8434282940082978d10c9cf9f332..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 207 zcmYj}u?oUK42F|>LQ#5%ldGd0RB#p1!PUjhf{UMQ!@Sl diff --git a/test/bytecode_3.6_run/03_if_elif.pyc b/test/bytecode_3.6_run/03_if_elif.pyc new file mode 100644 index 0000000000000000000000000000000000000000..177dcac015d2ea45487855eebb0033dd0586d9a1 GIT binary patch literal 482 zcmYk1y-ve05XbM_q%~2Sp#wt~C|ehb+JOZj5GoVu(v1PD)Q%L9kIGJwkit?BZ^FPU zWo61MFmacn3S0L-`**$%PkX&U4rdRaEr4(Mx9AR6WbT8+fE^gLA^9-t8gK(mR){SU zInMeNn-HBCbQ7i-Xw>2z?pvm%X}<~WJqdT$WH9lGw23_Y5np$RNFwV!;Ws{!EfamP zfKhO}5;P4j_G~v~?u4YI(Mr^K4zHNW65U}53m_txlt}5Vd5!e4_DQ~ABr051_-Og3 zjrH(&q^Iprt6XbdKi#-DA9Jf zUekzAHHYgq3pc7I$$aEhQmJg28m0IY#ne?*;k9$d7IB`> z`Tvk)GZ^$Bs{6hlJ_zti;jfrs9ZRMW1Uw>S9lQ4Gmw?AU%}N3(38iea8+xc<4+ZXu z&NDa09~~K!Ty2}=^hSiZwZU(h13!RO{QkpdBG#SbmV^tRXeO;|Wj0?JTN`R@Jw0Ea Y`O<~z($Feh$uL4;jv1=HN<^J~0rEXF3;+NC diff --git a/test/bytecode_3.7_run/03_if_elif.pyc b/test/bytecode_3.7_run/03_if_elif.pyc new file mode 100644 index 0000000000000000000000000000000000000000..1340d45eeb3fa71ef031e1e576a5056de87c58e0 GIT binary patch literal 486 zcmX|+J5R$f5XbMFgqo<$(1D=~l&uRzWne*whsuPybYrMhYDbF5qq0*Zq_7mkH(}r_ zWo61&VB)TYo^}7TfA&3m)9HjjCi~;rrw8!Ohkv6pT#>sE5(Bnp&_)!ayluesG