diff options
author | T. Wouters <thomas@python.org> | 2017-03-30 09:58:35 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-30 09:58:35 -0700 |
commit | 5466d4af5fe76ec0a5fbc8a05675287d9e8e9d14 (patch) | |
tree | 598a42e56dd2ef8cee216d4bf92118e5304bb642 /Python/peephole.c | |
parent | 06e522521c06671b4559eecf9e2a185c2d62c141 (diff) | |
download | cpython-git-5466d4af5fe76ec0a5fbc8a05675287d9e8e9d14.tar.gz |
bpo-29942: Fix the use of recursion in itertools.chain.from_iterable. (#889)
Fix the use of recursion in itertools.chain.from_iterable. Using recursion
is unnecessary, and can easily cause stack overflows, especially when
building in low optimization modes or with Py_DEBUG enabled.
Diffstat (limited to 'Python/peephole.c')
0 files changed, 0 insertions, 0 deletions