[Python-3000] Lines breaking
Guido van Rossum
guido at python.org
Tue May 29 08:03:59 CEST 2007
On 5/29/07, "Martin v. Löwis" <martin at v.loewis.de> wrote:
> >> VT "Vertical Tab" 0B
> >> FF "Form Feed" 0C
> > -1 on making these line-breaking characters by default.
> > I like my ASCII text file lines broken by newline chars
> > and nothing else.
> The question, of course, is what a newline char is; this
> whole mess originates from disagreement about this issue.
> For example, .splitlines considers carriage-return (CR)
> characters as well, and you don't seem to complain about
Well, I would have complained about that too, except I was too busy
when splitlines() was snuck into the language behind my back. :-) I
should add that it has never caused me grief even though it is
flagrant disagreement with Python's general concept of line endings.
--Guido van Rossum (home page: http://www.python.org/~guido/)
More information about the Python-3000