summaryrefslogtreecommitdiff
path: root/Objects/fileobject.c
AgeCommit message (Expand)AuthorLines
2018-01-02coalesce GILless sections in new_buffersize (#5059)Benjamin Peterson-5/+6
2018-01-02bpo-31530: fix crash when multiple threads iterate over a file, round 2 (#5060)Benjamin Peterson-51/+67
2017-12-07[2.7] bpo-32186: Release the GIL during fstat and lseek calls (#4651)Nir Soffer-3/+18
2017-11-10[2.7] bpo-31530: Stop crashes when iterating over a file on multiple threads....Serhiy Storchaka-3/+16
2017-09-13consistently use Py_TYPE, Py_REFCNT, and correct initializer macros (#3563)Benjamin Peterson-1/+1
2016-07-01Issue #23908: os functions, open() and the io.FileIO constructor now rejectSerhiy Storchaka-1/+2
2016-06-02Issue #27171: Fix typos in documentation, code comments, and testsMartin Panter-1/+1
2016-04-10Issue #26200: Added Py_SETREF and replaced Py_XSETREF with Py_SETREFSerhiy Storchaka-2/+2
2016-04-06Issue #22570: Renamed Py_SETREF to Py_XSETREF.Serhiy Storchaka-2/+2
2015-12-24Issue #20440: Massive replacing unsafe attribute setting code with specialSerhiy Storchaka-4/+2
2014-09-30use Py_ssize_t for file offset and length computations in iteration (closes #...Benjamin Peterson-8/+7
2014-05-08Issue #21350: Fix file.writelines() to accept arbitrary buffer objects, as ad...Antoine Pitrou-7/+7
2013-12-17Circumventing a bug in glibc (issue #17976).Serhiy Storchaka-3/+5
2013-12-17Issue #17976: Fixed potential problem with file.write() not detecting IO errorSerhiy Storchaka-1/+5
2013-01-19Issue #15989: Fix several occurrences of integer overflowSerhiy Storchaka-4/+4
2013-01-01get the core to compile --disable-unicodeBenjamin Peterson-1/+3
2012-06-25Fixes issue #12268 for file readline, readlines and read() and readinto methods.Gregory P. Smith-4/+61
2012-04-05Issue #14505: Fix file descriptor leak when deallocating file objects created...Antoine Pitrou-1/+2
2012-03-12#14161: fix compile error under Windows.Ezio Melotti-1/+2
2012-03-12#14161: fix the __repr__ of file objects to escape the file name.Ezio Melotti-4/+10
2011-10-13Issue #13159: Replace FileIO's quadratic-time buffer growth algorithm with a ...Nadeem Vawda-15/+4
2011-09-23Issue #7732: Fix a crash on importing a module if a directory has the same nameVictor Stinner-13/+19
2010-10-28Issue #9295: Fix a crash under Windows when calling close() on a fileAntoine Pitrou-0/+6
2010-10-16iterators passed to writelines() can close their files; don't segfault #10125Benjamin Peterson-0/+5
2010-09-08Issue #4947: The write() method of sys.stdout and sys.stderr uses theirVictor Stinner-4/+33
2010-05-17Issue #7079: Fix a possible crash when closing a file object while usingAntoine Pitrou-2/+4
2010-05-09Untabify C files. Will watch buildbots.Antoine Pitrou-1929/+1929
2010-04-03more _PyString_Resize error checkingBenjamin Peterson-8/+10
2010-02-22#7706: DONT_HAVE_ERRNO_H is no longer defined by configure (after rev.46819).Andrew M. Kuchling-1/+1
2010-02-05Issue #5677: Explicitly forbid write operations on read-only file objects,Antoine Pitrou-0/+32
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