Staging
v0.5.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
example_nt
setup_nt
src
utils
vc15_lib
vc15_w31
wat_dos
wat_os2
_tkinter.def -rw-r--r-- 22 bytes
config.c -rw-r--r-- 3.5 KB
config.h -rw-r--r-- 12.2 KB
dl_nt.c -rw-r--r-- 616 bytes
dllbase_nt.txt -rw-r--r-- 1.5 KB
getpath_nt.c -rw-r--r-- 4.9 KB
import_nt.c -rw-r--r-- 1.1 KB
main_nt.c -rw-r--r-- 1.6 KB
make8x3.py -rw-r--r-- 2.2 KB
make_nt.in -rw-r--r-- 2.6 KB
makesrc.exe -rw-r--r-- 25.0 KB
pyth_w31.def -rw-r--r-- 128 bytes
python.mk -rw-r--r-- 242 bytes
python.wpj -rw-r--r-- 411 bytes
python_nt.def -rw-r--r-- 6.1 KB
python_nt.rc -rw-r--r-- 1.3 KB
readme.txt -rw-r--r-- 6.6 KB
testpy.py -rw-r--r-- 802 bytes
vc40.mak -rw-r--r-- 117.8 KB

readme.txt

back to top