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 marco.buttu
Recipients Jim Fasarakis-Hilliard, docs@python, marco.buttu, rhettinger, terry.reedy, wolma
Date 2017-02-28.21:46:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1488318396.63.0.191998283353.issue29414@psf.upfronthosting.co.za>
In-reply-to
Content
Wolfgang, thanks for your contribution. However, I prefere the chapter as it currently is, because IMHO it introduces the concepts more gradually than your proposal. In addition the modification of the title section from "for Statements" to "for Loops" IMHO makes the title not consistent with the other section titles.

> - I don't think range() really deserves its own section
> in a chapter about control flow, so I removed most of it
> and linked to the relevant stdtypes section instead

-1 for me: the range() function is used in several examples in the chapter, that is why IMHO it is worth having the range() section as it is now.

> - moved the definition of an iterable up into the for
> loop section

-1 for me: IMHO the current definition/introdution of iterable is easier to understand for a beginner.

> - restructured the for loop section to discuss Python for loops
> first and only compare them to Pascal/C afterwards

+0. I think for a reader who is coming from another language is better to have the current introduction. But maybe it is not the same for a reader who is learning Python as a first programming language.

> - moved the example for modifying a list while iterating
> over it to the datastructures chapter

+0
History
Date User Action Args
2017-02-28 21:46:36marco.buttusetrecipients: + marco.buttu, rhettinger, terry.reedy, docs@python, wolma, Jim Fasarakis-Hilliard
2017-02-28 21:46:36marco.buttusetmessageid: <1488318396.63.0.191998283353.issue29414@psf.upfronthosting.co.za>
2017-02-28 21:46:36marco.buttulinkissue29414 messages
2017-02-28 21:46:36marco.buttucreate