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/021077.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 - availableFredrik Lundh fredrik@pythonware.com
Thu, 14 Mar 2002 01:16:47 +0100
someone wrote:

> jack wrote:
> > - open(filename, 'U') is now the way to open files for universal 
> > newline reading because 't' may have a use on Windows;
> 
> "U" as in Ugly?

but except for the mode parameter, the "newlines" hack,
and possibly some intricate detail that I'm missing at this
late hour, I'm all +1 on this proposal.

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

</F>




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