CVS: 'python/dist/src/Objects fileobject.c'
Guido van Rossum
Sat, 10 May 1997 18:33:57 -0400
Update of /projects/cvsroot/python/dist/src/Objects
In directory monty:/usr/people/guido/python/src/Objects
Add optional 'sizehint' argument to readlines(). After approximately
this many bytes have been read, readlines stops. Because of
buffering, the amount of bytes read is usually at least 8K more than
Also changed read() and readline() to use PyArg_ParseTuple().
(Note that the *previous* checkin also fixed error handling and
narrowed the range of thread unblocking for all methods using
--Guido van Rossum (home page: http://www.python.org/~guido/)