[issue29942] Stack overflow in itertools.chain.from_iterable.

Mark Dickinson report at bugs.python.org
Thu Mar 30 03:46:35 EDT 2017


Mark Dickinson added the comment:

> I would have guessed that the C compiler would have automatically removed the tail recursion

I think it probably does, unless optimisation is turned off: I'm unable to reproduce except in debug builds of Python.

----------
nosy: +mark.dickinson

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue29942>
_______________________________________


More information about the Python-bugs-list mailing list