This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Vasantha Ganesh Kanniappan
Recipients Vasantha Ganesh Kanniappan
Date 2018-10-22.11:49:58
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1540208998.92.0.788709270274.issue35043@psf.upfronthosting.co.za>
In-reply-to
Content
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]]
History
Date User Action Args
2018-10-22 11:49:59Vasantha Ganesh Kanniappansetrecipients: + Vasantha Ganesh Kanniappan
2018-10-22 11:49:58Vasantha Ganesh Kanniappansetmessageid: <1540208998.92.0.788709270274.issue35043@psf.upfronthosting.co.za>
2018-10-22 11:49:58Vasantha Ganesh Kanniappanlinkissue35043 messages
2018-10-22 11:49:58Vasantha Ganesh Kanniappancreate