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

Jack 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