Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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

Merged
Yhg1s merged 1 commit into
python:3.5python/cpython:3.5from
Yhg1s:backport-5466d4a-3.5Yhg1s/cpython:backport-5466d4a-3.5Copy head branch name to clipboard
Mar 30, 2017
Merged

bpo-29942: Fix the use of recursion in itertools.chain.from_iterable.#912
Yhg1s merged 1 commit into
python:3.5python/cpython:3.5from
Yhg1s:backport-5466d4a-3.5Yhg1s/cpython:backport-5466d4a-3.5Copy head branch name to clipboard

Conversation

@Yhg1s

@Yhg1s Yhg1s commented Mar 30, 2017

Copy link
Copy Markdown
Member

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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.