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 dan.riti
Recipients ashwch, cvrebert, dan.riti, docs@python, eric.araujo, ezio.melotti, kushal.das, meador.inge, mikehoy, peter.otten, terry.reedy
Date 2013-04-13.20:13:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1365884016.69.0.474383002635.issue13510@psf.upfronthosting.co.za>
In-reply-to
Content
After reading the comments, I generated a patch that does the following:

- Reorganize to present `for line in f:` as the first approach for reading lines. I refrained from saying it's the *preferred* approach, however I can add that if desired.
- Reorganize to present `f.readlines()` as the alternative approach.

Any feedback is more then welcome! Thanks.
History
Date User Action Args
2013-04-13 20:13:36dan.ritisetrecipients: + dan.riti, terry.reedy, peter.otten, ezio.melotti, eric.araujo, cvrebert, meador.inge, docs@python, mikehoy, kushal.das, ashwch
2013-04-13 20:13:36dan.ritisetmessageid: <1365884016.69.0.474383002635.issue13510@psf.upfronthosting.co.za>
2013-04-13 20:13:36dan.ritilinkissue13510 messages
2013-04-13 20:13:36dan.riticreate