Stephen J. Turnbull wrote:
> The Unicode newline recommendation is all about making the use of
> characters match their physical presentation.  If on a printer, you
> force a new page with FF, you will see a physical line break at the
> end of the page containing the FF.  Similarly with VT.

I'm worried here about loss of information. Currently,
a Python-recognised line break character signifies
a line break and nothing else. You can read a file as
lines, strip off the newlines, do some processing, and
add the newlines back in when writing out the results,
without losing anything essential.

But an FF or VT is not *just* a line break, it can
have other semantics attatched to it as well. So
treating it just the same as a \n by default would be
wrong, I think.

-- 
Greg Ewing, Computer Science Dept, +--------------------------------------+
University of Canterbury,          | Carpe post meridiem!                 |
Christchurch, New Zealand          | (I'm not a morning person.)          |
[EMAIL PROTECTED]          +--------------------------------------+
_______________________________________________
Python-3000 mailing list
Python-3000@python.org
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe: 
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Reply via email to