Message173761
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. |
|
Date |
User |
Action |
Args |
2012-10-25 14:36:53 | eric.araujo | set | recipients:
+ eric.araujo, terry.reedy, peter.otten, ezio.melotti, cvrebert, meador.inge, docs@python |
2012-10-25 14:36:53 | eric.araujo | set | messageid: <1351175813.95.0.539699828268.issue13510@psf.upfronthosting.co.za> |
2012-10-25 14:36:53 | eric.araujo | link | issue13510 messages |
2012-10-25 14:36:53 | eric.araujo | create | |
|