[issue35043] functools.reduce doesn't work properly with itertools.chain
Vasantha Ganesh Kanniappan added the comment: You are right. It works now. I'm sorry for wasting your time. -- stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.
[issue35043] functools.reduce doesn't work properly with itertools.chain
New submission from Vasantha Ganesh Kanniappan : I'm facing this issue in python 3.6.5 How to reproduce: my_list = [[1, 2], [3, 4]] a = reduce(itertools.chain, my_list) The output of `a' is [1, 2, 3, 4] as expected, but now my_list is [[1, 2, 3, 4], [3, 4]] -- component