summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS
diff options
context:
space:
mode:
authorT. Wouters <thomas@python.org>2017-03-30 19:48:55 (GMT)
committerGitHub <noreply@github.com>2017-03-30 19:48:55 (GMT)
commit9273dfe1800fc7241d69f4d523d748ebd35b3801 (patch)
treef92bcc47277da8b1e41dc8b539cfc20cc9458cbc /Misc/NEWS
parent8b8bde44f3912d8b2df5591ffc31d2d8c6dcca6c (diff)
downloadcpython-9273dfe1800fc7241d69f4d523d748ebd35b3801.zip
cpython-9273dfe1800fc7241d69f4d523d748ebd35b3801.tar.gz
cpython-9273dfe1800fc7241d69f4d523d748ebd35b3801.tar.bz2
bpo-29942: Fix the use of recursion in itertools.chain.from_iterable. (#912)
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 5466d4af5fe76ec0a5fbc8a05675287d9e8e9d14)
Diffstat (limited to 'Misc/NEWS')
-rw-r--r--Misc/NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index e640622..0aefc75 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -49,6 +49,9 @@ Extension Modules
Library
-------
+- bpo-29942: Fix a crash in itertools.chain.from_iterable when encountering
+ long runs of empty iterables.
+
- bpo-27863: Fixed multiple crashes in ElementTree caused by race conditions
and wrong types.