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 the_darklord
Recipients docs@python, the_darklord
Date 2017-07-02.04:22:08
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1498969328.51.0.74139016573.issue30826@psf.upfronthosting.co.za>
In-reply-to
Content
Documentation section: https://docs.python.org/3/reference/compound_stmts.html#for

The documentation does not explain at all why is there an infinite loop when not using a copy of the list.

It leaves the reader in a confused state.

Even there are questions concerning the same on stackoverlflow: https://stackoverflow.com/questions/44633798/loop-through-a-list-in-python-and-modify-it
History
Date User Action Args
2017-07-02 04:22:08the_darklordsetrecipients: + the_darklord, docs@python
2017-07-02 04:22:08the_darklordsetmessageid: <1498969328.51.0.74139016573.issue30826@psf.upfronthosting.co.za>
2017-07-02 04:22:08the_darklordlinkissue30826 messages
2017-07-02 04:22:08the_darklordcreate