X Tutup
Skip to content

bpo-29942: Fix the use of recursion in itertools.chain.from_iterable.#912

Merged
Yhg1s merged 1 commit intopython:3.5from
Yhg1s:backport-5466d4a-3.5
Mar 30, 2017
Merged

bpo-29942: Fix the use of recursion in itertools.chain.from_iterable.#912
Yhg1s merged 1 commit intopython:3.5from
Yhg1s:backport-5466d4a-3.5

Conversation

@Yhg1s
Copy link
Copy Markdown
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 9273dfe into python:3.5 Mar 30, 2017
@Yhg1s Yhg1s deleted the backport-5466d4a-3.5 branch March 30, 2017 19:48
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.

4 participants

X Tutup