summaryrefslogtreecommitdiff
path: root/Objects/fileobject.c
AgeCommit message (Expand)AuthorLines
2003-04-30file_truncate(): Backported 2.3 code so that file.truncate(n) works onTim Peters-20/+68
2003-03-04Backported fix to [521782] unreliable file.read() error handling.Gustavo Niemeyer-3/+30
2002-09-25Fix typo in xreadlines() docstring. This does not apply to the trunk.Fred Drake-1/+1
2002-04-30backport tim_one's patch:Anthony Baxter-3/+1
2002-04-08SF bug 538827: Python open w/ MSVC6: bad error msgs.Tim Peters-1/+14
2002-03-17Take Tim's work on file.truncate out of 2.2.1 again.Michael W. Hudson-66/+18
2002-03-16Backport Tim's work on getting file.truncate working better on Win32.Michael W. Hudson-18/+66
2002-01-12Include <unistd.h> in Python.h. Fixes #500924.Martin v. Löwis-4/+0
2001-11-30Merged changes made on r22b2-branch between r22b2 and r22b2-mac (theJack Jansen-2/+7
2001-11-28PyFile_WriteString(): change prototype so that the string arg isTim Peters-1/+1
2001-11-09open_the_file(): Explicitly set errno to 0 before calling fopen().Tim Peters-0/+1
2001-11-09open_the_file(): this routine has a borrowed reference to the fileTim Peters-1/+0
2001-11-09Fix SF buf #476953: Bad more for opening file gives bad msg.Jeremy Hylton-2/+6
2001-10-31fix forMichael W. Hudson-2/+2
2001-10-23SF patch #474175 (Jay T Miller): file.readinto arg parsing bugGuido van Rossum-1/+2
2001-10-12Band-aid solution to SF bug #470634: readlines() on linux requires 2 ^D's.Guido van Rossum-4/+11
2001-10-10Rather gross workaround for a bug in the mac GUSI I/O library:Jack Jansen-1/+7
2001-10-05Enable GC for new-style instances. This touches lots of files, sinceGuido van Rossum-3/+3
2001-09-23Generalize file.writelines() to allow iterable objects.Tim Peters-31/+31
2001-09-20Add optional docstrings to getset descriptors. Fortunately, there'sGuido van Rossum-2/+2
2001-09-20Add optional docstrings to member descriptors. For backwardsGuido van Rossum-4/+7
2001-09-20SF bug [#463093] File methods need doc strings.Tim Peters-14/+94
2001-09-19Patch #462849: Pass Unicode objects to file's .write method.Martin v. Löwis-3/+8
2001-09-14The end of [#460467] file objects should be subclassable.Tim Peters-30/+63
2001-09-13Get rid of builtin_open() entirely (the C code and docstring, not theTim Peters-2/+2
2001-09-13Now that file objects are subclassable, you can get at the file constructorTim Peters-0/+8
2001-09-13SF bug [#460467] file objects should be subclassable.Tim Peters-23/+100
2001-09-10_portable_fseek():Guido van Rossum-0/+6
2001-09-06Enable large file support on Win32 systems.Tim Peters-1/+1
2001-09-05Changes to automatically enable large file support on some systems.Guido van Rossum-12/+20
2001-08-24repr's converted to using PyString_FromFormat() instead of sprintf'ingBarry Warsaw-7/+5
2001-08-16Patch #427190: Implement and use METH_NOARGS and METH_O.Martin v. Löwis-33/+20
2001-08-09Apply anonymous SF patch #441229.Guido van Rossum-0/+6
2001-08-06Remove spurious "closed" attribute definition from the memberlistGuido van Rossum-1/+0
2001-08-02Merge of descr-branch back into trunk.Tim Peters-27/+18
2001-07-19Kill more warnings from the SGI compiler.Fred Drake-1/+1
2001-05-22file_getiter(): make iter(file) be equivalent to file.xreadlines().Guido van Rossum-12/+3
2001-04-23Mondo changes to the iterator stuff, without changing how Python codeGuido van Rossum-0/+1
2001-04-21Oops, forgot to merge this from the iter-branch to the trunk.Guido van Rossum-9/+37
2001-04-14Make some private symbols static.Guido van Rossum-2/+2
2001-03-01Two improvements to large file support:Guido van Rossum-30/+18
2001-01-18Move distributed and duplicated config for stat() and fstat() into pyport.h.Tim Peters-20/+0
2001-01-16Rationalizing the fallback code for portable fseek -- this is all muchGuido van Rossum-26/+12
2001-01-15Speed getline_via_fgets(), by supplying two "fast paths", although one isTim Peters-54/+81
2001-01-15Use the "MS" getline hack (fgets()) by default on non-get_unlockedTim Peters-29/+46
2001-01-09Jeff Epler's patch adding an xreadlines() method. (It just importsGuido van Rossum-1/+25
2001-01-09Tsk, tsk, tsk. Treat FreeBSD the same as the other BSDs when definingGuido van Rossum-1/+1
2001-01-08A few reformats; no logic changes.Tim Peters-9/+8
2001-01-08Let's hope that three time's a charm...Guido van Rossum-3/+3
2001-01-08Fiddled ms_getline_hack after talking w/ Guido: made clearer that theTim Peters-65/+67