[Python-Dev] Next version of PEP278 - universal newline support - available
Guido van Rossum
guido@python.org
Thu, 14 Mar 2002 11:40:09 -0500
> Guido van Rossum wrote:
> > Opinions?
>
> Please don't change the behavior of open() on Unix. I like effbot's
> idea much better.
You mean textfile() as the official constructor for text files?
I think that in the long run, it's wrong that open() defaults to
binary mode on Unix, while it defaults to text mode on other
platforms. I think nudging people into the direction of being
explicit about binary mode, and defaulting to universal text mode on
all platforms makes more sense.
--Guido van Rossum (home page: http://www.python.org/~guido/)