[Python-3000] iostack and sock2

Marcin 'Qrczak' Kowalczyk qrczak at knm.org.pl
Tue Jun 6 12:49:34 CEST 2006


Greg Ewing <greg.ewing at canterbury.ac.nz> writes:

> The two variations we're considering would then be special
> cases of this:
>
>    f.read(0, num_bytes)         # current read() behaviour
>
>    f.read(num_bytes, num_bytes) # record-oriented read() behaviour

Current read() reads at least 1 byte.

-- 
   __("<         Marcin Kowalczyk
   \__/       qrczak at knm.org.pl
    ^^     http://qrnik.knm.org.pl/~qrczak/


More information about the Python-3000 mailing list