A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2002-March/021115.html below:

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

[Python-Dev] Next version of PEP278 - universal newline support - available [Python-Dev] Next version of PEP278 - universal newline support - availableGuido 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/)



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4