Staging
v0.5.0
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
Demo
Doc
Grammar
Include
Lib
Mac
Misc
Modules
Objects
PC
Parser
Python
Tools
.hgtags -rw-r--r-- 856 bytes
BUGS -rw-r--r-- 11.6 KB
Makefile.in -rw-r--r-- 14.8 KB
README -rw-r--r-- 29.5 KB
TODO -rw-r--r-- 16.0 KB
acconfig.h -rw-r--r-- 2.7 KB
config.h.in -rw-r--r-- 9.4 KB
configure -rwxr-xr-x 108.2 KB
configure.in -rw-r--r-- 15.9 KB
install-sh -rwxr-xr-x 2.1 KB

README

back to top