[Python-Dev] End of the line

Jack Jansen jack@oratrix.nl
Wed, 14 Jul 1999 17:53:36 +0200


> [Jack Jansen]
> > This'll work for Unix and PC conventions, but not for the Mac.
> > Mac end of line is \r, so reading a line from a mac file on unix will
> > give you the whole file.
> [...]
> 
> Maybe you're missing that Python reads lines one character at a time?  So
> e.g. the behavior of the platform libc fgets is irrelevant.

You're absolutely right... 
--
Jack Jansen             | ++++ stop the execution of Mumia Abu-Jamal ++++
Jack.Jansen@oratrix.com | ++++ if you agree copy these lines to your sig ++++
www.oratrix.nl/~jack    | see http://www.xs4all.nl/~tank/spg-l/sigaction.htm