Skip to content

Conversation

@Yhg1s
Copy link
Member

@Yhg1s Yhg1s commented Mar 30, 2017

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.
(cherry picked from commit 5466d4a)

…python#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.
(cherry picked from commit 5466d4a)
@Yhg1s Yhg1s merged commit d694a06 into python:2.7 Mar 30, 2017
@Yhg1s Yhg1s deleted the backport-5466d4a-2.7 branch March 30, 2017 19:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants