]> granicus.if.org Git - python/commit
bpo-32836: Remove obsolete code from symtable pass (GH-5680)
authorNitish Chandra <nitishchandrachinta@gmail.com>
Mon, 26 Feb 2018 21:31:20 +0000 (03:01 +0530)
committerNick Coghlan <ncoghlan@gmail.com>
Mon, 26 Feb 2018 21:31:20 +0000 (07:31 +1000)
commit3a087beddd9f0955eb9080a6fd1499ff89ca74bf
treefd2c5b431db0c253e1c81e21b50a66ca81bccbdd
parent6b5df906afe113dbe421d044322254cfd4747c9c
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.
Include/symtable.h
Misc/NEWS.d/next/Core and Builtins/2018-02-14-12-35-47.bpo-32836.bThJnx.rst [new file with mode: 0644]
Python/symtable.c