summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorT. Wouters <thomas@python.org>2017-03-30 16:58:35 (GMT)
committerGitHub <noreply@github.com>2017-03-30 16:58:35 (GMT)
commit5466d4af5fe76ec0a5fbc8a05675287d9e8e9d14 (patch)
tree598a42e56dd2ef8cee216d4bf92118e5304bb642 /Misc
parent06e522521c06671b4559eecf9e2a185c2d62c141 (diff)
downloadcpython-5466d4af5fe76ec0a5fbc8a05675287d9e8e9d14.zip
cpython-5466d4af5fe76ec0a5fbc8a05675287d9e8e9d14.tar.gz
cpython-5466d4af5fe76ec0a5fbc8a05675287d9e8e9d14.tar.bz2
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 'Misc')
-rw-r--r--Misc/NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 8646b8c..42a09b6 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -301,6 +301,9 @@ Extension Modules
Library
-------
+- bpo-29942: Fix a crash in itertools.chain.from_iterable when encountering
+ long runs of empty iterables.
+
- bpo-10030: Sped up reading encrypted ZIP files by 2 times.
- bpo-29204: Element.getiterator() and the html parameter of XMLParser() were