Message178298
I don't think this is a bug. `b += iter(b)` and `for c in b: b.append(c)` work the same way. Also, the tutorial makes it clear that you should duplicate the list if you modify it inside a loop; in this case, this can be done either by iterating over `b[:]` instead of just `b` or using a list comprehension instead of a generator. |
|
Date |
User |
Action |
Args |
2012-12-27 13:34:10 | pyos | set | recipients:
+ pyos, gwrtheyrn, davidhalter |
2012-12-27 13:34:10 | pyos | set | messageid: <1356615250.34.0.27516875498.issue16791@psf.upfronthosting.co.za> |
2012-12-27 13:34:10 | pyos | link | issue16791 messages |
2012-12-27 13:34:10 | pyos | create | |
|