This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pyos
Recipients davidhalter, gwrtheyrn, pyos
Date 2012-12-27.13:34:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1356615250.34.0.27516875498.issue16791@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2012-12-27 13:34:10pyossetrecipients: + pyos, gwrtheyrn, davidhalter
2012-12-27 13:34:10pyossetmessageid: <1356615250.34.0.27516875498.issue16791@psf.upfronthosting.co.za>
2012-12-27 13:34:10pyoslinkissue16791 messages
2012-12-27 13:34:10pyoscreate