Thanks for the bug report. I filed it as http://www.codeplex.com/IronPython/WorkItem/View.aspx?WorkItemId=8678.
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Oliver Yu Sent: Monday, March 05, 2007 4:40 PM To: [email protected] Subject: [IronPython] An implementation bug in itertools? Try: from itertools import * l = [1,2,3,4,5,6] i = iter(l) for x,y in izip(i,i): print "%d %d" % (x,y) Under CPython you get the expected: 1 2 3 4 5 6 Under IronPython I got: 2 2 4 4 6 6 This is under: IronPython console: IronPython 1.1a1 (1.1) on .NET 2.0.50727.42 Oli _______________________________________________ users mailing list [email protected] http://lists.ironpython.com/listinfo.cgi/users-ironpython.com _______________________________________________ users mailing list [email protected] http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
