summaryrefslogtreecommitdiff
path: root/Objects/fileobject.c
AgeCommit message (Expand)AuthorLines
2006-09-05Backport 51669: Make sure memory is properly cleaned up in file_init (even th...Neal Norwitz-1/+1
2006-08-21Fix a couple of ssize-t issues reported by Alexander Belopolsky on python-devNeal Norwitz-1/+1
2006-07-17Stop INCREFing name, then checking if it's NULL. name (f_name) should neverNeal Norwitz-3/+6
2006-07-16Handle a NULL name properly.Neal Norwitz-3/+3
2006-07-03Fix build problems with the platform SDK on windows. It is not sufficient to...Kristján Valur Jónsson-1/+1
2006-06-12Fix the CRT argument error handling for VisualStudio .NET 2005. Install a CR...Kristján Valur Jónsson-1/+3
2006-06-10Patch #1495999: Part two of Windows CE changes.Martin v. Löwis-2/+2
2006-06-08Bug #1502805: don't alias file.__exit__ to file.close since theGeorg Brandl-1/+18
2006-05-18Bug #1462152: file() now checks more thoroughly for invalid modeGeorg Brandl-35/+48
2006-05-02Get rid of __context__, per the latest changes to PEP 343 and python-devGuido van Rossum-5/+0
2006-05-02SF #1479181: split open() and file() from being aliases for each other.Neal Norwitz-4/+0
2006-04-13Replace INT_MAX with PY_SSIZE_T_MAX where string lengthMartin v. Löwis-4/+4
2006-04-13spread the extern "C" { } magic pixie dust around. Python itself builds nowAnthony Baxter-0/+9
2006-04-11More C++-compliance. Note especially listobject.c - to get C++ to accept theAnthony Baxter-5/+6
2006-03-31Bug #1177964: make file iterator raise MemoryError on too big filesGeorg Brandl-1/+2
2006-03-30Remove unnecessary casts in type object initializers.Georg Brandl-1/+1
2006-03-10Um, I thought I'd already checked this in.Guido van Rossum-26/+1
2006-02-28Updates to the with-statement:Guido van Rossum-3/+37
2006-02-27Revert backwards-incompatible const changes.Martin v. Löwis-1/+1
2006-02-15Merge ssize_t branch.Martin v. Löwis-14/+19
2006-02-12SF patch #1397960: When mixing file-iteration andThomas Wouters-2/+39
2006-01-08strlen() returns a size_t, get rid of 64-bit warningNeal Norwitz-1/+1
2005-12-15Revert r41662 and the part of 41552 that originally caused the problemNeal Norwitz-7/+0
2005-12-13Add a workaround for file.ftell() to raise IOError for ttys.Hye-Shik Chang-0/+7
2005-12-10Add const to several API functions that take char *.Jeremy Hylton-3/+4
2005-05-20Disallow opening files with modes 'aU' or 'wU' as specified by PEPSkip Montanaro-0/+51
2004-11-07If close() fails in file_dealloc, then print an error message toPeter Astrand-1/+8
2004-06-11dump HAVE_FOPENRF stuff - obsoleteSkip Montanaro-26/+19
2004-05-31Add weakref support to array.array and file objects.Raymond Hettinger-2/+5
2004-04-04If a file is opened with an explicit buffer size >= 1, repeatedAndrew MacIntyre-0/+2
2004-03-21Changed file.name to be the object passed as the 'name' argument to file()Nicholas Bastin-17/+21
2004-03-19PyFile_WriteObject(): some of the local variables are only used whenFred Drake-0/+2
2004-02-07Remove support for --without-universal-newlines (see PEP 11).Skip Montanaro-35/+0
2003-11-19Getting rid of code dependent on GUSI or the MetroWerks compiler.Jack Jansen-28/+0
2003-10-18Patch #809535: Mention behaviour of seek on text files. Backported to 2.3.Martin v. Löwis-1/+3
2003-10-12Simplify and speedup uses of Py_BuildValue():Raymond Hettinger-2/+2
2003-09-07Only release buffer after file has been closed. Fixes #800824.Martin v. Löwis-1/+1
2003-09-07SF bug 801631: file.truncate fault on windows.Tim Peters-74/+66
2003-09-04Patch #788249: Pass an explicit buffer to setvbuf in PyFile_SetBufSize().Martin v. Löwis-5/+19
2003-08-15Fix SF #789402, Memory leak on open()Neal Norwitz-0/+1
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