Message173761
| Author |
eric.araujo |
| Recipients |
cvrebert, docs@python, eric.araujo, ezio.melotti, meador.inge, peter.otten, terry.reedy |
| Date |
2012年10月25日.14:36:53 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1351175813.95.0.539699828268.issue13510@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
readlines might be discouraged; readline has its use cases (two days ago I used it to get one line to pass to csv.Sniffer.sniff), but next(file) works too, so it could be de-emphasized. There may be a difference with respect to the trailing newline however; I don’t remember if __iter__ or readline keep it or not. |
|