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.
T
T. Wouters committed
5466d4af5fe76ec0a5fbc8a05675287d9e8e9d14
Parent: 06e5225
Committed by GitHub <noreply@github.com>
on 3/30/2017, 4:58:35 PM