[Python-Dev] Re: [Python-checkins] CVS: python/dist/src/Objects fileobject.c,2.96,2.97

Greg Stein gstein@lyra.org
Sun, 7 Jan 2001 02:46:54 -0800


On Fri, Jan 05, 2001 at 06:43:07AM -0800, Guido van Rossum wrote:
> Update of /cvsroot/python/python/dist/src/Objects
> In directory usw-pr-cvs1:/tmp/cvs-serv3183
> 
> Modified Files:
> 	fileobject.c 
> Log Message:
> Restructured get_line() for clarity and speed.
> 
> - The raw_input() functionality is moved to a separate function.
> 
> - Drop GNU getline() in favor of getc_unlocked(), which exists on more
>   platforms (and is even a tad faster on my system).

The "configure" tests for getline() can be punted if we won't use it any
more...

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/