[IronPython] An implementation bug in itertools?
Haibo Luo
haiboluo at exchange.microsoft.com
Tue Mar 6 01:59:33 CET 2007
Thanks for the bug report. I filed it as http://www.codeplex.com/IronPython/WorkItem/View.aspx?WorkItemId=8678.
-----Original Message-----
From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of Oliver Yu
Sent: Monday, March 05, 2007 4:40 PM
To: users at lists.ironpython.com
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
users at lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
More information about the Ironpython-users
mailing list