Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
python
/
cpython3
/
4346716962881713cbdbf59eb901b35dae31f042
/
Objects
/
fileobject.c
789a161
Add optional 'sizehint' argument to readlines(). After approximately
by Guido van Rossum
· 28 years ago
6263d54
Rewrite readlines() to speed it up -- about a factor of 2 on my
by Guido van Rossum
· 28 years ago
5449b6e
Speed up read() (i.e. read till EOF) considerably by doing a stat() to
by Guido van Rossum
· 28 years ago
b819914
Fix by Mark Hammond to enable truncate() on Windows.
by Guido van Rossum
· 28 years ago
fdf95dd
Checkin of Jack's buffer mods.
by Guido van Rossum
· 28 years ago
c0b618a
Quickly renamed the last directory.
by Guido van Rossum
· 28 years ago
685a38e
Make gcc -Wall happy.
by Guido van Rossum
· 28 years ago
d266eb4
New permission notice, includes CNRI.
by Guido van Rossum
· 29 years ago
d3f9a1a
fix read(0), readline(0); make tuple for call_object args
by Guido van Rossum
· 30 years ago
e08dea19
MW does not always set errno on failing fopen()
by Jack Jansen
· 30 years ago
295d171
explicitly init flags in methodlists
by Guido van Rossum
· 30 years ago
6610ad9
Added 1995 to copyright message.
by Guido van Rossum
· 30 years ago
d7047b3
Lots of minor changes. Note for mappingobject.c: the hash table pointer
by Guido van Rossum
· 30 years ago
b6775db
Merge alpha100 branch back to main trunk
by Guido van Rossum
· 31 years ago
c600411
* mpzmodule.c: removed redundant mpz_print function.
by Guido van Rossum
· 32 years ago
82d410e
* fileobject.c (softspace): fix bug if called with NULL file.
by Guido van Rossum
· 32 years ago
5a2a683
* filemodule.c: added writelines() -- analogous to readlines()
by Guido van Rossum
· 32 years ago
db3165e
* bltinmodule.c: removed exec() built-in function.
by Guido van Rossum
· 32 years ago
f1dc566
* Makefile: added all: and default: targets.
by Guido van Rossum
· 32 years ago
234f942
* Added gmtime/localtime/mktime and SYSV timezone globals to timemodule.c.
by Guido van Rossum
· 32 years ago
34679b7
* Added Fixcprt.py: script to fix copyright message.
by Guido van Rossum
· 32 years ago
0b0db8e
Added separate main program for the Mac: macmain.c
by Guido van Rossum
· 32 years ago
e35399e
Checking in last-minute changes that are already part of release 0.9.8
by Guido van Rossum
· 32 years ago
de788b8
fileobject.c: fix nasty bug; Makefile; turn on STROP and change lint flags.
by Guido van Rossum
· 32 years ago
3165fe6
Modified most (but not yet all) I/O to always go through sys.stdout or
by Guido van Rossum
· 33 years ago
7066dd7
* Makefile: added IMGFILE; moved some stuff around.
by Guido van Rossum
· 33 years ago
ff4949e
* Makefile: cosmetics
by Guido van Rossum
· 33 years ago
1984f1e
* Makefile adapted to changes below.
by Guido van Rossum
· 33 years ago
c10aa77
fileobject.c: fix fatal bug in getline() (forgot to initialize fp now)
by Guido van Rossum
· 33 years ago
d7297e6
Makefile: added instann rules and $(*DEST*) defines.
by Guido van Rossum
· 33 years ago
ed233a5
Changes for new UNIX-specific built-in module 'select' and new header for
by Guido van Rossum
· 33 years ago
bab9d03
Copyright for 1992 added
by Guido van Rossum
· 33 years ago
51415a7
Quiet lint
by Guido van Rossum
· 33 years ago
febd551
Change error handling. Call clearerr() more often.
by Guido van Rossum
· 33 years ago
fa3da8a
Include modsupport.h for getargs().
by Guido van Rossum
· 33 years ago
201be05
Added message to EOFError.
by Guido van Rossum
· 33 years ago
87e7ea7
Use new exceptions.
by Guido van Rossum
· 33 years ago
8aff84a
Call write(fileno(fp), ...) instead of fwrite for LARGE writes.
by Guido van Rossum
· 34 years ago
18a372f
getlonglongargs --> getlonglongarg
by Guido van Rossum
· 34 years ago
9093361
printobject now returns an error code
by Guido van Rossum
· 34 years ago
a1ab7fa
In support of popen(), file objects are now parametrized with a close
by Guido van Rossum
· 34 years ago
76ad8ed
Call clearerr() after EOF seen.
by Guido van Rossum
· 34 years ago
0bd2441
Added external interface to readline, for raw_input().
by Guido van Rossum
· 34 years ago
eb183da
Added 'softspace' interface to replace 'needspace' printing hack.
by Guido van Rossum
· 34 years ago
ce5ba84
Fixed read() and readline() to do arbitrarily long reads.
by Guido van Rossum
· 34 years ago
f70e43a
Added copyright notice.
by Guido van Rossum
· 34 years ago
a08095a
Hack to open resource fork on the Mac: open(filename, '*rb').
by Guido van Rossum
· 34 years ago
59b3590
Think C 4.0 fixes a bug in 3.0 that we programmed around.
by Guido van Rossum
· 34 years ago
3f5da24
"Compiling" version
by Guido van Rossum
· 34 years ago
dd5c7be
Reads of zero should be legal!
by Guido van Rossum
· 35 years ago
2b654f7
New error handling in getattr().
by Guido van Rossum
· 35 years ago
85a5fbb
Initial revision
by Guido van Rossum
· 35 years ago