[Python-Dev] Next version of PEP278 - universal newline support - available

Fredrik Lundh fredrik@pythonware.com
Thu, 14 Mar 2002 01:37:41 +0100


someone wrote:

> (alternate idea: instead of adding a non-standard mode
> flag, how about a "textfile" constructor?)

with the following signature, perhaps:

    f = textfile(filename, mode="r", encoding=None)

</F>