Message7688
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). |
|
Date |
User |
Action |
Args |
2013-02-16 20:46:21 | dsh | set | recipients:
+ dsh |
2013-02-16 20:46:21 | dsh | set | messageid: <1361047581.27.0.890538602173.issue2015@psf.upfronthosting.co.za> |
2013-02-16 20:46:21 | dsh | link | issue2015 messages |
2013-02-16 20:46:21 | dsh | create | |
|