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 | meador.inge |
|---|---|
| Recipients | docs@python, eric.araujo, ezio.melotti, meador.inge, peter.otten, terry.reedy |
| Date | 2011年12月01日.05:12:28 |
| SpamBayes Score | 0.00208592 |
| Marked as misclassified | No |
| Message-id | <1322716349.26.0.421059956417.issue13510@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
I am skeptical that such a note will help. The iterator behavior is clearly pointed out in the Python Tutorial [1] and in the IOBase documentation [2]. I suspect this bad code pattern is just being copied and pasted from other sources without folks ever even looking at the Python documentation. [1] http://docs.python.org/dev/tutorial/inputoutput.html?highlight=readlines#methods-of-file-objects [2] http://docs.python.org/dev/library/io.html#io.IOBase |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2011年12月01日 05:12:29 | meador.inge | set | recipients: + meador.inge, terry.reedy, peter.otten, ezio.melotti, eric.araujo, docs@python |
| 2011年12月01日 05:12:29 | meador.inge | set | messageid: <1322716349.26.0.421059956417.issue13510@psf.upfronthosting.co.za> |
| 2011年12月01日 05:12:28 | meador.inge | link | issue13510 messages |
| 2011年12月01日 05:12:28 | meador.inge | create | |