summaryrefslogtreecommitdiffstats
path: root/Lib/subprocess.py
diff options
context:
space:
mode:
authorINADA Naoki <methane@users.noreply.github.com>2017-12-18 06:52:54 (GMT)
committerGitHub <noreply@github.com>2017-12-18 06:52:54 (GMT)
commit87010e85cb37192d63b1a30e5fabba307ad5a3f5 (patch)
tree166197c11581f9a9ede1c4c734716f3892683e64 /Lib/subprocess.py
parent902ab80b590e474bb2077b1fae8aac497b856d66 (diff)
downloadcpython-87010e85cb37192d63b1a30e5fabba307ad5a3f5.zip
cpython-87010e85cb37192d63b1a30e5fabba307ad5a3f5.tar.gz
cpython-87010e85cb37192d63b1a30e5fabba307ad5a3f5.tar.bz2
bpo-29469: peephole: Remove const_stack (GH-4879)
Constant folding was moved to AST optimizer. But compiler may emit LOAD_CONSTs + BUILD_TUPLE. For example, default arguments can be constant tuple if all arguments are constant. This commit makes peephole's tuple folding simple. It doesn't support nested tuples because nested tuples are folded by AST optimizer already.
Diffstat (limited to 'Lib/subprocess.py')
0 files changed, 0 insertions, 0 deletions