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 rhettinger
Recipients davidhalter, gwrtheyrn, pyos, r.david.murray, rhettinger
Date 2012-12-28.07:22:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
This isn't a bug.  It is an intended feature that chain.from_iterable evaluates lazily (and is documented as such).  The pure python equivalent in the docs behaves the same as the C version does.

Also, it is a long standing feature of lists that you can loop over them while mutating them (I've seen more than a few pieces of code that take advantage of that feature).
Date User Action Args
2012-12-28 07:22:40rhettingersetrecipients: + rhettinger, r.david.murray, gwrtheyrn, davidhalter, pyos
2012-12-28 07:22:40rhettingersetmessageid: <>
2012-12-28 07:22:40rhettingerlinkissue16791 messages
2012-12-28 07:22:40rhettingercreate