commit | 8c579b1cc86053473eb052b76327279476740c9b | [log] [tgz] |
---|---|---|
author | Serhiy Storchaka <storchaka@gmail.com> | Wed Feb 12 12:18:59 2020 +0200 |
committer | GitHub <noreply@github.com> | Wed Feb 12 12:18:59 2020 +0200 |
tree | bc99d5f52e1330500216512d1064c2f341b64d89 | |
parent | 0cc6b5e559b8303b18fdd56c2befd900fe7b5e35 [diff] |
bpo-32856: Optimize the assignment idiom in comprehensions. (GH-16814) Now `for y in [expr]` in comprehensions is as fast as a simple assignment `y = expr`.