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 scoder
Recipients WoodyWoo, docs@python, eli.bendersky, eric.smith, scoder, serhiy.storchaka
Date 2020-09-30.15:09:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1601478582.76.0.679738821055.issue41892@roundup.psfhosted.org>
In-reply-to
Content
> That example is especially problematic.

No, it's not. It uses .findall(), which returns a list. It's like when you make a copy of a list to iterate over, when you want to modify the original list in the loop.

That could be made explicit in the text that introduces the example, but I think it's a very good example.
History
Date User Action Args
2020-09-30 15:09:42scodersetrecipients: + scoder, eric.smith, eli.bendersky, docs@python, serhiy.storchaka, WoodyWoo
2020-09-30 15:09:42scodersetmessageid: <1601478582.76.0.679738821055.issue41892@roundup.psfhosted.org>
2020-09-30 15:09:42scoderlinkissue41892 messages
2020-09-30 15:09:42scodercreate