New submission from Vasantha Ganesh Kanniappan <vasantha.gan...@soroco.com>:
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]] ---------- components: Library (Lib) messages: 328248 nosy: Vasantha Ganesh Kanniappan priority: normal severity: normal status: open title: functools.reduce doesn't work properly with itertools.chain type: behavior versions: Python 3.6 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue35043> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com