[Python-Dev] Patch submitted for cross-platform newline support
Tim Peters
tim@zope.com
Wed, 31 Oct 2001 15:14:33 -0500
[Jack Jansen]
> - Python code can pass a new "t" mode parameter to open() which reads
> files with any newline convention. "t" cannot be combined with any
> other mode flags like "w" or "+", for obvious reasons.
[/F]
> so "t" can be both a mode (like "r" and "w") and a mode modifier
> (like "t" and "b")? could be confusing.
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>.