Message7688

Author dsh
Recipients dsh
Date 2013-02-16.20:46:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1361047581.27.0.890538602173.issue2015@psf.upfronthosting.co.za>
In-reply-to
Content
In Jython 2.5 and CPython 2.7, a class' __iter__ method can return itertools.imap(f, l) and this object can be processed in a for loop.  In Jython 2.7 the loop does not execute any iterations.  The attached script demonstrates this (and is also compatible with CPython 3 for comparison there).
History
Date User Action Args
2013-02-16 20:46:21dshsetrecipients: + dsh
2013-02-16 20:46:21dshsetmessageid: <1361047581.27.0.890538602173.issue2015@psf.upfronthosting.co.za>
2013-02-16 20:46:21dshlinkissue2015 messages
2013-02-16 20:46:21dshcreate