diff options
author | T. Wouters <thomas@python.org> | 2017-03-30 19:48:55 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-30 19:48:55 (GMT) |
commit | 9273dfe1800fc7241d69f4d523d748ebd35b3801 (patch) | |
tree | f92bcc47277da8b1e41dc8b539cfc20cc9458cbc /Misc/NEWS | |
parent | 8b8bde44f3912d8b2df5591ffc31d2d8c6dcca6c (diff) | |
download | cpython-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/NEWS | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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. |