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-October/018300.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 00:14:58 +0100
Recently, "Tim Peters" <tim@zope.com> said:
> Well, the "t" modifier isn't std; does anyone other than Microsoft support
> it?  MS also gives meaning to non-std "c" and "n" modifiers.  Luckily,
> Python doesn't define which modes or modifiers it accepts <wink>.

Oops, big oops! I picked the "t" because it was intended _not_ to be
supported on any platform: my code eats it, and turns on the universal
newline feature on the file object. What does "t" do on Windows? What
would be a better choice?
--
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