summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d
diff options
context:
space:
mode:
authorNitish Chandra <nitishchandrachinta@gmail.com>2018-02-26 21:31:20 (GMT)
committerNick Coghlan <ncoghlan@gmail.com>2018-02-26 21:31:20 (GMT)
commit3a087beddd9f0955eb9080a6fd1499ff89ca74bf (patch)
treefd2c5b431db0c253e1c81e21b50a66ca81bccbdd /Misc/NEWS.d
parent6b5df906afe113dbe421d044322254cfd4747c9c (diff)
downloadcpython-3a087beddd9f0955eb9080a6fd1499ff89ca74bf.zip
cpython-3a087beddd9f0955eb9080a6fd1499ff89ca74bf.tar.gz
cpython-3a087beddd9f0955eb9080a6fd1499ff89ca74bf.tar.bz2
bpo-32836: Remove obsolete code from symtable pass (GH-5680)
When comprehensions switched to using a nested scope, the old code for generating a temporary name to hold the accumulation target became redundant, but was never actually removed. Patch by Nitish Chandra.
Diffstat (limited to 'Misc/NEWS.d')
-rw-r--r--Misc/NEWS.d/next/Core and Builtins/2018-02-14-12-35-47.bpo-32836.bThJnx.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2018-02-14-12-35-47.bpo-32836.bThJnx.rst b/Misc/NEWS.d/next/Core and Builtins/2018-02-14-12-35-47.bpo-32836.bThJnx.rst
new file mode 100644
index 0000000..4eeb9aa
--- /dev/null
+++ b/Misc/NEWS.d/next/Core and Builtins/2018-02-14-12-35-47.bpo-32836.bThJnx.rst
@@ -0,0 +1 @@
+Don't use temporary variables in cases of list/dict/set comprehensions