[Python-Dev] End of the line

Fredrik Lundh fredrik@pythonware.com
Thu, 22 Jul 1999 17:23:00 +0200


Tim Peters <tim_one@email.msn.com> wrote:
> The latest versions of the Icon language (9.3.1 & beyond) sprouted an
> interesting change in semantics:  if you open a file for reading in
> "translated" (text) mode now, it normalizes Unix, Mac and Windows line
> endings to plain \n.  Writing in text mode still produces what's natural for
> the platform.
> 
> Anyone think that's *not* a good idea?

if we were to change this, how would you
tell Python to open a file in text mode?

</F>