[Python-checkins] r42931 - python/trunk/Tools/scripts/svneol.py

"Martin v. Löwis" martin at v.loewis.de
Thu Mar 9 19:31:17 CET 2006


Jim Jewett wrote:
> Is it OK (in this case) to mix f.readline() and f.read()?

Yes.

> Would it be safer to just readline the data lines as well, but assert
> their length?

That assertion would fail: the line break is not counted in the data
length, plus there might be multi-line values.

Regards,
Martin


More information about the Python-checkins mailing list