- fd4c872 issue 4804: Provide checks for the format string of strftime, and for the "mode" string of fopen on Windows. These strings are user provided from python and so we can avoid invoking the C runtime invalid parameter handler by first checking that they are valid. by Kristján Valur Jónsson · 17 years ago
- fe231b0 #4764 set IOError.filename when trying to open a directory on POSIX platforms by Benjamin Peterson · 17 years ago
- 17617a0 #3965: on Windows, open() crashes if the filename or the mode is invalid, by Amaury Forgeot d'Arc · 17 years ago
- f91d46a Issue #3139: Make buffer-interface thread-safe wrt. PyArg_ParseTuple, by Martin v. Löwis · 17 years ago
- 99a3dce More reverting of r63675 per the mailing list discussions. This restores by Gregory P. Smith · 17 years ago
- dd96db6 This reverts r63675 based on the discussion in this thread: by Gregory P. Smith · 17 years ago
- 9981589 New environment variable PYTHONIOENCODING. by Martin v. Löwis · 17 years ago
- 593daf5 Renamed PyString to PyBytes by Christian Heimes · 17 years ago
- a9916b5 #2353: raise Py3k warning in file.xreadlines(). by Georg Brandl · 17 years ago
- f19a7b9 A little reformating of Py3k warnings by Benjamin Peterson · 17 years ago
- 9f4f481 Use PyErr_WarnPy3k throughout by Benjamin Peterson · 17 years ago
- aa63d0d Make file objects as thread safe as the underlying libc FILE* implementation. by Gregory P. Smith · 17 years ago
- 65bb42d #2348: add py3k warning for file.softspace. by Georg Brandl · 17 years ago
- 10ed0f5 Remove all traces of HAVE_STRERROR. by Brett Cannon · 17 years ago
- 887290d Fix the IOError message text when opening a file with an invalid filename. by Gregory P. Smith · 17 years ago
- ad61bc8 #2067: file.__exit__() now calls subclasses' close() method. by Georg Brandl · 17 years ago
- d7e1b2b static PyObject* variables should use PyString_InternFromString() instead of PyObject_FromString() to store a python string in a function level static var. by Christian Heimes · 18 years ago
- e93237d #1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and Py_REFCNT. Macros for b/w compatibility are available. by Christian Heimes · 18 years ago
- 4e3ebe0 Note that open() is the preferred way to open files (issue 1510). by Skip Montanaro · 18 years ago
- ad8fb0d Patch # 188 by Philip Jenvey. by Guido van Rossum · 18 years ago
- 0153159 Add a bunch of GIL release/acquire points in tp_print implementations and for by Brett Cannon · 18 years ago
- 6819210 PEP 3123: Provide forward compatibility with Python 3.0, while keeping by Martin v. Löwis · 18 years ago
- 0a440d4 Export function sanitize_the_mode from fileobject.c as _PyFile_SanitizeMode(). Use this function in posixmodule.c when implementing fdopen(). This fixes test_subprocess.py for a VisualStudio 2005 compile. by Kristján Valur Jónsson · 18 years ago
- afea529 SF patch #1630975: Fix crash when replacing sys.stdout in sitecustomize by Thomas Wouters · 19 years ago
- 056dac1 Bug #1067760: Deprecate passing floats to file.seek. by Martin v. Löwis · 19 years ago
- 7ccbca9 Forward-port of r52136,52138: a review of overflow-detecting code. by Armin Rigo · 19 years ago
- 2b3666f Make sure memory is properly cleaned up in file_init. by Brett Cannon · 19 years ago
- 076d1e0 Fix a couple of ssize-t issues reported by Alexander Belopolsky on python-dev by Neal Norwitz · 19 years ago
- b337bb5 Stop INCREFing name, then checking if it's NULL. name (f_name) should never by Neal Norwitz · 19 years ago
- fc28e0d Handle a NULL name properly. by Neal Norwitz · 19 years ago
- 74c3ea0 Fix build problems with the platform SDK on windows. It is not sufficient to test for the C compiler version when determining if we have the secure CRT from microsoft. Must test with an undocumented macro, __STDC_SECURE_LIB__ too. by Kristján Valur Jónsson · 19 years ago
- f608317 Fix the CRT argument error handling for VisualStudio .NET 2005. Install a CRT error handler and disable the assertion for debug builds. This causes CRT to set errno to EINVAL. by Kristján Valur Jónsson · 19 years ago
- 0e8bd7e Patch #1495999: Part two of Windows CE changes. by Martin v. Löwis · 19 years ago
- 98b40ad Bug #1502805: don't alias file.__exit__ to file.close since the by Georg Brandl · 19 years ago
- 7b90e16 Bug #1462152: file() now checks more thoroughly for invalid mode by Georg Brandl · 19 years ago
- da5b701 Get rid of __context__, per the latest changes to PEP 343 and python-dev by Guido van Rossum · 19 years ago
- c4edb0e SF #1479181: split open() and file() from being aliases for each other. by Neal Norwitz · 19 years ago
- 2a19074 Replace INT_MAX with PY_SSIZE_T_MAX where string length are concerned. by Martin v. Löwis · 19 years ago
- ac6bd46 spread the extern "C" { } magic pixie dust around. Python itself builds now by Anthony Baxter · 19 years ago
- 377be11 More C++-compliance. Note especially listobject.c - to get C++ to accept the by Anthony Baxter · 19 years ago
- ed02eb6 Bug #1177964: make file iterator raise MemoryError on too big files by Georg Brandl · 19 years ago
- 347b300 Remove unnecessary casts in type object initializers. by Georg Brandl · 19 years ago
- f669436 Um, I thought I'd already checked this in. by Guido van Rossum · 19 years ago
- 1a5e21e Updates to the with-statement: by Guido van Rossum · 19 years ago
- 15e6274 Revert backwards-incompatible const changes. by Martin v. Löwis · 19 years ago
- 18e1655 Merge ssize_t branch. by Martin v. Löwis · 19 years ago
- c45251a SF patch #1397960: When mixing file-iteration and by Thomas Wouters · 19 years ago
- 76dc081 strlen() returns a size_t, get rid of 64-bit warning by Neal Norwitz · 20 years ago
- a716eab Revert r41662 and the part of 41552 that originally caused the problem by Neal Norwitz · 20 years ago
- e237d50 Add a workaround for file.ftell() to raise IOError for ttys. by Hye-Shik Chang · 20 years ago
- af68c87 Add const to several API functions that take char *. by Jeremy Hylton · 20 years ago
- bbf12ba Disallow opening files with modes 'aU' or 'wU' as specified by PEP by Skip Montanaro · 20 years ago
- f8e74b1 If close() fails in file_dealloc, then print an error message to by Peter Astrand · 21 years ago
- 51ffac6 dump HAVE_FOPENRF stuff - obsolete by Skip Montanaro · 21 years ago
- cb87bc8 Add weakref support to array.array and file objects. by Raymond Hettinger · 21 years ago
- 4e10ed3 If a file is opened with an explicit buffer size >= 1, repeated by Andrew MacIntyre · 21 years ago
- abce8a6 Changed file.name to be the object passed as the 'name' argument to file() by Nicholas Bastin · 21 years ago
- 086a0f7 PyFile_WriteObject(): some of the local variables are only used when by Fred Drake · 21 years ago
- db60805 Remove support for --without-universal-newlines (see PEP 11). by Skip Montanaro · 22 years ago
- 4bae2d5 Getting rid of code dependent on GUSI or the MetroWerks compiler. by Jack Jansen · 22 years ago
- 849a972 Patch #809535: Mention behaviour of seek on text files. Backported to 2.3. by Martin v. Löwis · 22 years ago
- 8ae4689 Simplify and speedup uses of Py_BuildValue(): by Raymond Hettinger · 22 years ago
- 7bbcde7 Only release buffer after file has been closed. Fixes #800824. by Martin v. Löwis · 22 years ago
- f1827cf SF bug 801631: file.truncate fault on windows. by Tim Peters · 22 years ago
- 1e3bdf6 Patch #788249: Pass an explicit buffer to setvbuf in PyFile_SetBufSize(). by Martin v. Löwis · 22 years ago
- 98cad48 Fix SF #789402, Memory leak on open() by Neal Norwitz · 22 years ago
- 415da6e Only encode Unicode objects when printing them raw. by Martin v. Löwis · 22 years ago
- 5467d4c Patch #612627: Add encoding attribute to file objects, and determine by Martin v. Löwis · 22 years ago
- 015dd82 Somewhere along the way, the softspace attr of file objects became read- by Tim Peters · 22 years ago
- cb3319f SF patch #683187, fix universal newline problems on error by Neal Norwitz · 23 years ago
- af6a27a Allow PyFile_GetLine() to return Unicode objects. Fixes #660165. by Martin v. Löwis · 23 years ago
- ea3fdf4 SF patch #659536: Use PyArg_UnpackTuple where possible. by Raymond Hettinger · 23 years ago
- a080be8 * Objects/fileobject.c by Gustavo Niemeyer · 23 years ago
- 786ddb2 Fixed bug by Gustavo Niemeyer · 23 years ago
- 6233c9b Patch #650834: Document 'U' in file mode, remove stale variables. by Martin v. Löwis · 23 years ago
- 0073f2e Fix --disable-unicode compilation problems. by Martin v. Löwis · 23 years ago
- c2e85bd Patch 594001: PEP 277 - Unicode file name support for Windows NT. by Mark Hammond · 23 years ago
- 8b73542 Reflow long lines. by Jeremy Hylton · 23 years ago
- d8b995f Make readahead functions static by Neal Norwitz · 23 years ago
- 7a6e959 SF patch 580331 by Oren Tirosh: make file objects their own iterator. by Guido van Rossum · 23 years ago
- 7a1f917 WINDOWS_LEAN_AND_MEAN: There is no such symbol, although a very few by Tim Peters · 23 years ago
- 6238d2b Patch #569753: Remove support for WIN16. by Martin v. Löwis · 23 years ago
- 14f8b4c Patch #568124: Add doc string macros. by Martin v. Löwis · 23 years ago
- 4be55b5 file_doc: Add some description of the U mode character, but only when by Barry Warsaw · 23 years ago
- 5de9842 Repair widespread misuse of _PyString_Resize. Since it's clear people by Tim Peters · 23 years ago
- e1682a8 Py_UniversalNewlineFread(): small speed boost on non-Windows boxes. by Tim Peters · 23 years ago
- 058b141 Py_UniversalNewlineFread(): Many changes. by Tim Peters · 23 years ago
- 7b8c754 Mass checkin of universal newline support. by Jack Jansen · 23 years ago
- aa769ae PyObject_Del can now be used as a function designator. by Neil Schemenauer · 23 years ago
- 2ea9111 SF bug 538827: Python open w/ MSVC6: bad error msgs. by Tim Peters · 23 years ago
- 7f7666f isatty() should return a bool. by Guido van Rossum · 23 years ago
- 77f6a65 Add the 'bool' type and its values 'False' and 'True', as described in by Guido van Rossum · 23 years ago
- 62f5a9d Convert file.readinto() to stop using METH_OLDARGS & PyArg_Parse. by Neal Norwitz · 23 years ago
- 3a204a7 Grow the string buffer at a mildly exponential rate for the getc version by Neil Schemenauer · 23 years ago
- ddea208 Give Python a debug-mode pymalloc, much as sketched on Python-Dev. by Tim Peters · 23 years ago
- ed19b88 Check in (hopefully) corrected version of last change. by Neil Schemenauer · 23 years ago
- 12a6d94 Undo last commit. It's causing the tests to file. by Neil Schemenauer · 23 years ago
- 398b9f6 Disallow open()ing of directories. Closes SF bug 487277. by Neil Schemenauer · 23 years ago
- f6eebbb Patch #530105: Allow file object may to be subtyped by Martin v. Löwis · 23 years ago
- 8f01b68 Change Windows file.truncate() to (a) restore the original file position, by Tim Peters · 23 years ago