[Python-3000] Lines breaking (original) (raw)

Greg Ewing greg.ewing at canterbury.ac.nz
Wed May 30 03:17:40 CEST 2007


Guido van Rossum wrote:

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.

Personally I wouldn't object if you reverted that and only allowed "\n" in splitlines. Having one and only one internal representation for line endings seems like a good thing.

-- Greg



More information about the Python-3000 mailing list