Staging
v0.8.1
https://github.com/python/cpython
Revision 789a1613a08d6d6891a40ca1800eaba217eea6bf authored by Guido van Rossum on 10 May 1997, 22:33:55 UTC, committed by Guido van Rossum on 10 May 1997, 22:33:55 UTC
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().)
1 parent 6263d54
History
Tip revision: 789a1613a08d6d6891a40ca1800eaba217eea6bf authored by Guido van Rossum on 10 May 1997, 22:33:55 UTC
Add optional 'sizehint' argument to readlines(). After approximately
Tip revision: 789a161
File Mode Size
Makefile.in -rw-r--r-- 2.5 KB
atof.c -rw-r--r-- 2.3 KB
bltinmodule.c -rw-r--r-- 39.9 KB
ceval.c -rw-r--r-- 59.2 KB
compile.c -rw-r--r-- 73.6 KB
dup2.c -rw-r--r-- 691 bytes
errors.c -rw-r--r-- 4.8 KB
fmod.c -rw-r--r-- 1.9 KB
frozen.c -rw-r--r-- 2.2 KB
frozenmain.c -rw-r--r-- 2.8 KB
getargs.c -rw-r--r-- 22.5 KB
getcompiler.c -rw-r--r-- 1.8 KB
getcopyright.c -rw-r--r-- 1.6 KB
getcwd.c -rw-r--r-- 2.8 KB
getmtime.c -rw-r--r-- 1.8 KB
getopt.c -rw-r--r-- 2.2 KB
getplatform.c -rw-r--r-- 1.6 KB
getversion.c -rw-r--r-- 1.8 KB
graminit.c -rw-r--r-- 24.1 KB
hypot.c -rw-r--r-- 309 bytes
import.c -rw-r--r-- 23.4 KB
importdl.c -rw-r--r-- 18.0 KB
importdl.h -rw-r--r-- 1.9 KB
marshal.c -rw-r--r-- 14.9 KB
memmove.c -rw-r--r-- 1.9 KB
modsupport.c -rw-r--r-- 9.9 KB
mystrtoul.c -rw-r--r-- 4.4 KB
pyfpe.c -rw-r--r-- 482 bytes
pystate.c -rw-r--r-- 4.2 KB
pythonmain.c -rw-r--r-- 5.8 KB
pythonrun.c -rw-r--r-- 17.2 KB
sigcheck.c -rw-r--r-- 2.0 KB
strdup.c -rw-r--r-- 321 bytes
strerror.c -rw-r--r-- 1.9 KB
strtod.c -rw-r--r-- 5.1 KB
structmember.c -rw-r--r-- 6.5 KB
sysmodule.c -rw-r--r-- 11.5 KB
thread.c -rw-r--r-- 3.4 KB
thread_cthread.h -rw-r--r-- 4.8 KB
thread_foobar.h -rw-r--r-- 3.8 KB
thread_lwp.h -rw-r--r-- 5.1 KB
thread_nt.h -rw-r--r-- 7.4 KB
thread_os2.h -rw-r--r-- 5.1 KB
thread_pthread.h -rw-r--r-- 9.2 KB
thread_sgi.h -rw-r--r-- 13.0 KB
thread_solaris.h -rw-r--r-- 5.6 KB
traceback.c -rw-r--r-- 6.4 KB

back to top