• Guido van Rossum's avatar
    Add optional 'sizehint' argument to readlines(). After approximately · 789a1613
    Guido van Rossum yazdı
    this many bytes have been read, readlines stops.  Because of
    buffering, the amount of bytes read is usually at least 8K more than
    the hint.
    
    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
    fread().)
    789a1613
fileobject.c 20.5 KB