summaryrefslogtreecommitdiff
path: root/Objects/fileobject.c
AgeCommit message (Expand)AuthorLines
2009-06-29Issue #6368: Fixed unused variable warning on Unix.Hirokazu Yamamoto-0/+2
2009-06-28Issue #4856: Remove checks for win NT.Hirokazu Yamamoto-19/+11
2009-05-17Issue #3527: Removed Py_WIN_WIDE_FILENAMES which is not used any more.Hirokazu Yamamoto-1/+1
2009-02-04issue 4804: Provide checks for the format string of strftime, and for the "m...Kristján Valur Jónsson-1/+88
2008-12-29#4764 set IOError.filename when trying to open a directory on POSIX platformsBenjamin Peterson-2/+2
2008-09-25#3965: on Windows, open() crashes if the filename or the mode is invalid,Amaury Forgeot d'Arc-4/+11
2008-08-12Issue #3139: Make buffer-interface thread-safe wrt. PyArg_ParseTuple,Martin v. Löwis-2/+16
2008-06-10More reverting of r63675 per the mailing list discussions. This restoresGregory P. Smith-3/+3
2008-06-09This reverts r63675 based on the discussion in this thread:Gregory P. Smith-54/+54
2008-06-01New environment variable PYTHONIOENCODING.Martin v. Löwis-3/+32
2008-05-26Renamed PyString to PyBytesChristian Heimes-56/+56
2008-05-17#2353: raise Py3k warning in file.xreadlines().Georg Brandl-3/+12
2008-04-27A little reformating of Py3k warningsBenjamin Peterson-2/+3
2008-04-27Use PyErr_WarnPy3k throughoutBenjamin Peterson-6/+2
2008-04-06Make file objects as thread safe as the underlying libc FILE* implementation.Gregory P. Smith-81/+164
2008-03-21#2348: add py3k warning for file.softspace.Georg Brandl-2/+34
2008-03-18Remove all traces of HAVE_STRERROR.Brett Cannon-8/+0
2008-03-18Fix the IOError message text when opening a file with an invalid filename.Gregory P. Smith-2/+5
2008-02-23#2067: file.__exit__() now calls subclasses' close() method.Georg Brandl-2/+2
2008-01-28static PyObject* variables should use PyString_InternFromString() instead of ...Christian Heimes-1/+1
2007-12-19#1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and Py_REFC...Christian Heimes-1/+1
2007-12-08Note that open() is the preferred way to open files (issue 1510).Skip Montanaro-1/+2
2007-09-22Patch # 188 by Philip Jenvey.Guido van Rossum-0/+1
2007-09-17Add a bunch of GIL release/acquire points in tp_print implementations and forBrett Cannon-0/+2
2007-07-21PEP 3123: Provide forward compatibility with Python 3.0, while keepingMartin v. Löwis-3/+2
2007-04-26Export function sanitize_the_mode from fileobject.c as _PyFile_SanitizeMode()...Kristján Valur Jónsson-8/+7
2007-01-23SF patch #1630975: Fix crash when replacing sys.stdout in sitecustomizeThomas Wouters-0/+2
2006-11-12Bug #1067760: Deprecate passing floats to file.seek.Martin v. Löwis-4/+17
2006-10-04Forward-port of r52136,52138: a review of overflow-detecting code.Armin Rigo-2/+6
2006-08-31Make sure memory is properly cleaned up in file_init.Brett Cannon-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