summaryrefslogtreecommitdiff
path: root/Objects/fileobject.c
AgeCommit message (Expand)AuthorLines
2003-09-16Backport Neal's fix for bug #789402 -- a memory leak in fileobject.cRaymond Hettinger-0/+1
2003-09-07Only release buffer after file has been closed. Fixes #800824.Martin v. Löwis-1/+1
2003-09-04Patch #788249: Pass an explicit buffer to setvbuf in PyFile_SetBufSize().Martin v. Löwis-5/+19
2003-05-18Only encode Unicode objects when printing them raw.Martin v. Löwis-1/+2
2003-05-10Patch #612627: Add encoding attribute to file objects, and determineMartin v. Löwis-1/+41
2003-05-04Somewhere along the way, the softspace attr of file objects became read-Tim Peters-1/+2
2003-02-09SF patch #683187, fix universal newline problems on errorNeal Norwitz-1/+4
2003-01-03Allow PyFile_GetLine() to return Unicode objects. Fixes #660165.Martin v. Löwis-1/+24
2002-12-29SF patch #659536: Use PyArg_UnpackTuple where possible.Raymond Hettinger-1/+1
2002-12-17* Objects/fileobject.cGustavo Niemeyer-1/+1
2002-12-16Fixed bugGustavo Niemeyer-3/+30
2002-12-11Patch #650834: Document 'U' in file mode, remove stale variables.Martin v. Löwis-5/+1
2002-11-21Fix --disable-unicode compilation problems.Martin v. Löwis-0/+4
2002-10-03Patch 594001: PEP 277 - Unicode file name support for Windows NT.Mark Hammond-13/+83
2002-08-14Reflow long lines.Jeremy Hylton-26/+32
2002-08-06Make readahead functions staticNeal Norwitz-5/+8
2002-08-06SF patch 580331 by Oren Tirosh: make file objects their own iterator.Guido van Rossum-31/+130
2002-07-14WINDOWS_LEAN_AND_MEAN: There is no such symbol, although a very fewTim Peters-1/+1
2002-06-30Patch #569753: Remove support for WIN16.Martin v. Löwis-3/+3
2002-06-13Patch #568124: Add doc string macros.Martin v. Löwis-30/+36
2002-05-22file_doc: Add some description of the U mode character, but only whenBarry Warsaw-0/+10
2002-04-27Repair widespread misuse of _PyString_Resize. Since it's clear peopleTim Peters-3/+1
2002-04-21Py_UniversalNewlineFread(): small speed boost on non-Windows boxes.Tim Peters-3/+3
2002-04-21Py_UniversalNewlineFread(): Many changes.Tim Peters-37/+47
2002-04-14Mass checkin of universal newline support.Jack Jansen-17/+294
2002-04-12PyObject_Del can now be used as a function designator.Neil Schemenauer-1/+1
2002-04-08SF bug 538827: Python open w/ MSVC6: bad error msgs.Tim Peters-2/+15
2002-04-07isatty() should return a bool.Guido van Rossum-1/+1
2002-04-03Add the 'bool' type and its values 'False' and 'True', as described inGuido van Rossum-3/+3
2002-04-01Convert file.readinto() to stop using METH_OLDARGS & PyArg_Parse.Neal Norwitz-2/+2
2002-03-23Grow the string buffer at a mildly exponential rate for the getc versionNeil Schemenauer-13/+16
2002-03-23Give Python a debug-mode pymalloc, much as sketched on Python-Dev.Tim Peters-8/+5
2002-03-23Check in (hopefully) corrected version of last change.Neil Schemenauer-0/+29
2002-03-22Undo last commit. It's causing the tests to file.Neil Schemenauer-28/+0
2002-03-22Disallow open()ing of directories. Closes SF bug 487277.Neil Schemenauer-0/+28
2002-03-15Patch #530105: Allow file object may to be subtypedMartin v. Löwis-11/+0
2002-03-12Change Windows file.truncate() to (a) restore the original file position,Tim Peters-27/+40
2002-03-11file_truncate(): provide full "large file" support on Windows, byTim Peters-20/+55
2002-02-26OS/2 EMX port changes (Objects part of patch #450267):Andrew MacIntyre-0/+4
2002-01-12Include <unistd.h> in Python.h. Fixes #500924.Martin v. Löwis-4/+0
2002-01-01SF Patch #494863, file.xreadlines() should raise ValueError if file is closedNeal Norwitz-0/+2
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