[Python-ideas] Iterating non-newline-separated files should be easier

Alexander Heger python at 2sn.net
Thu Jul 17 23:39:42 CEST 2014


> I don't think it is reasonable to add a new parameter to readline(), because
> streams are widely implemented using duck typing -- every implementation
> would have to be updated to support this.

Could the "split" (or splitline) keyword-only parameter instead be
passed to the open function (and the __init__ of IOBase and be stored
there)?


More information about the Python-ideas mailing list