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 /Lib/codeop.py | |
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 'Lib/codeop.py')
0 files changed, 0 insertions, 0 deletions