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/2001-November/018317.html below:

[Python-Dev] Patch submitted for cross-platform newline support

[Python-Dev] Patch submitted for cross-platform newline support [Python-Dev] Patch submitted for cross-platform newline supportJack Jansen jack@oratrix.nl
Thu, 01 Nov 2001 15:12:38 +0100
Recently, "Tim Peters" <tim@zope.com> said:
> Radical idea:  don't do anything to turn on "universal newlines" -- say it's
> just what "text mode" means in Python.  Then you only have to worry about
> picking a letter to turn it off <wink>.

This is how I started. But I changed it because a file in universal
newline input mode is going to be slower than in normal text input
mode. Especially when I looked at the code for doing readline() on
Windows to squeeze out the last few nanoseconds I thought that this
should probably be an option, not the default.
--
Jack Jansen             | ++++ stop the execution of Mumia Abu-Jamal ++++
Jack.Jansen@oratrix.com | ++++ if you agree copy these lines to your sig ++++
www.cwi.nl/~jack        | see http://www.xs4all.nl/~tank/spg-l/sigaction.htm 



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