1. 47fe981 Merged revisions 67952-67953,67955,67957-67958,67960-67961,67963,67965,67967,67970-67971,67973,67982,67988,67990,67995,68014,68016,68030,68057,68061,68112,68115-68118,68120-68121,68123-68128 via svnmerge from by Georg Brandl · 17 years ago
  2. 17617a0 #3965: on Windows, open() crashes if the filename or the mode is invalid, by Amaury Forgeot d'Arc · 17 years ago
  3. f91d46a Issue #3139: Make buffer-interface thread-safe wrt. PyArg_ParseTuple, by Martin v. Löwis · 17 years ago
  4. 99a3dce More reverting of r63675 per the mailing list discussions. This restores by Gregory P. Smith · 17 years ago
  5. dd96db6 This reverts r63675 based on the discussion in this thread: by Gregory P. Smith · 17 years ago
  6. 9981589 New environment variable PYTHONIOENCODING. by Martin v. Löwis · 17 years ago
  7. 593daf5 Renamed PyString to PyBytes by Christian Heimes · 17 years ago
  8. a9916b5 #2353: raise Py3k warning in file.xreadlines(). by Georg Brandl · 17 years ago
  9. f19a7b9 A little reformating of Py3k warnings by Benjamin Peterson · 17 years ago
  10. 9f4f481 Use PyErr_WarnPy3k throughout by Benjamin Peterson · 17 years ago
  11. aa63d0d Make file objects as thread safe as the underlying libc FILE* implementation. by Gregory P. Smith · 17 years ago
  12. 65bb42d #2348: add py3k warning for file.softspace. by Georg Brandl · 17 years ago
  13. 10ed0f5 Remove all traces of HAVE_STRERROR. by Brett Cannon · 17 years ago
  14. 887290d Fix the IOError message text when opening a file with an invalid filename. by Gregory P. Smith · 17 years ago
  15. ad61bc8 #2067: file.__exit__() now calls subclasses' close() method. by Georg Brandl · 17 years ago
  16. 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
  17. 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
  18. 4e3ebe0 Note that open() is the preferred way to open files (issue 1510). by Skip Montanaro · 18 years ago
  19. ad8fb0d Patch # 188 by Philip Jenvey. by Guido van Rossum · 18 years ago
  20. 0153159 Add a bunch of GIL release/acquire points in tp_print implementations and for by Brett Cannon · 18 years ago
  21. 6819210 PEP 3123: Provide forward compatibility with Python 3.0, while keeping by Martin v. Löwis · 18 years ago
  22. 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
  23. afea529 SF patch #1630975: Fix crash when replacing sys.stdout in sitecustomize by Thomas Wouters · 19 years ago
  24. 056dac1 Bug #1067760: Deprecate passing floats to file.seek. by Martin v. Löwis · 19 years ago
  25. 7ccbca9 Forward-port of r52136,52138: a review of overflow-detecting code. by Armin Rigo · 19 years ago
  26. 2b3666f Make sure memory is properly cleaned up in file_init. by Brett Cannon · 19 years ago
  27. 076d1e0 Fix a couple of ssize-t issues reported by Alexander Belopolsky on python-dev by Neal Norwitz · 19 years ago
  28. b337bb5 Stop INCREFing name, then checking if it's NULL. name (f_name) should never by Neal Norwitz · 19 years ago
  29. fc28e0d Handle a NULL name properly. by Neal Norwitz · 19 years ago
  30. 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
  31. 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
  32. 0e8bd7e Patch #1495999: Part two of Windows CE changes. by Martin v. Löwis · 19 years ago
  33. 98b40ad Bug #1502805: don't alias file.__exit__ to file.close since the by Georg Brandl · 19 years ago
  34. 7b90e16 Bug #1462152: file() now checks more thoroughly for invalid mode by Georg Brandl · 19 years ago
  35. da5b701 Get rid of __context__, per the latest changes to PEP 343 and python-dev by Guido van Rossum · 19 years ago
  36. c4edb0e SF #1479181: split open() and file() from being aliases for each other. by Neal Norwitz · 19 years ago
  37. 2a19074 Replace INT_MAX with PY_SSIZE_T_MAX where string length are concerned. by Martin v. Löwis · 19 years ago
  38. ac6bd46 spread the extern "C" { } magic pixie dust around. Python itself builds now by Anthony Baxter · 19 years ago
  39. 377be11 More C++-compliance. Note especially listobject.c - to get C++ to accept the by Anthony Baxter · 19 years ago
  40. ed02eb6 Bug #1177964: make file iterator raise MemoryError on too big files by Georg Brandl · 19 years ago
  41. 347b300 Remove unnecessary casts in type object initializers. by Georg Brandl · 19 years ago
  42. f669436 Um, I thought I'd already checked this in. by Guido van Rossum · 19 years ago
  43. 1a5e21e Updates to the with-statement: by Guido van Rossum · 19 years ago
  44. 15e6274 Revert backwards-incompatible const changes. by Martin v. Löwis · 19 years ago
  45. 18e1655 Merge ssize_t branch. by Martin v. Löwis · 19 years ago
  46. c45251a SF patch #1397960: When mixing file-iteration and by Thomas Wouters · 19 years ago
  47. 76dc081 strlen() returns a size_t, get rid of 64-bit warning by Neal Norwitz · 20 years ago
  48. a716eab Revert r41662 and the part of 41552 that originally caused the problem by Neal Norwitz · 20 years ago
  49. e237d50 Add a workaround for file.ftell() to raise IOError for ttys. by Hye-Shik Chang · 20 years ago
  50. af68c87 Add const to several API functions that take char *. by Jeremy Hylton · 20 years ago
  51. bbf12ba Disallow opening files with modes 'aU' or 'wU' as specified by PEP by Skip Montanaro · 20 years ago
  52. f8e74b1 If close() fails in file_dealloc, then print an error message to by Peter Astrand · 21 years ago
  53. 51ffac6 dump HAVE_FOPENRF stuff - obsolete by Skip Montanaro · 21 years ago
  54. cb87bc8 Add weakref support to array.array and file objects. by Raymond Hettinger · 21 years ago
  55. 4e10ed3 If a file is opened with an explicit buffer size >= 1, repeated by Andrew MacIntyre · 21 years ago
  56. abce8a6 Changed file.name to be the object passed as the 'name' argument to file() by Nicholas Bastin · 21 years ago
  57. 086a0f7 PyFile_WriteObject(): some of the local variables are only used when by Fred Drake · 21 years ago
  58. db60805 Remove support for --without-universal-newlines (see PEP 11). by Skip Montanaro · 22 years ago
  59. 4bae2d5 Getting rid of code dependent on GUSI or the MetroWerks compiler. by Jack Jansen · 22 years ago
  60. 849a972 Patch #809535: Mention behaviour of seek on text files. Backported to 2.3. by Martin v. Löwis · 22 years ago
  61. 8ae4689 Simplify and speedup uses of Py_BuildValue(): by Raymond Hettinger · 22 years ago
  62. 7bbcde7 Only release buffer after file has been closed. Fixes #800824. by Martin v. Löwis · 22 years ago
  63. f1827cf SF bug 801631: file.truncate fault on windows. by Tim Peters · 22 years ago
  64. 1e3bdf6 Patch #788249: Pass an explicit buffer to setvbuf in PyFile_SetBufSize(). by Martin v. Löwis · 22 years ago
  65. 98cad48 Fix SF #789402, Memory leak on open() by Neal Norwitz · 22 years ago
  66. 415da6e Only encode Unicode objects when printing them raw. by Martin v. Löwis · 22 years ago
  67. 5467d4c Patch #612627: Add encoding attribute to file objects, and determine by Martin v. Löwis · 22 years ago
  68. 015dd82 Somewhere along the way, the softspace attr of file objects became read- by Tim Peters · 22 years ago
  69. cb3319f SF patch #683187, fix universal newline problems on error by Neal Norwitz · 23 years ago
  70. af6a27a Allow PyFile_GetLine() to return Unicode objects. Fixes #660165. by Martin v. Löwis · 23 years ago
  71. ea3fdf4 SF patch #659536: Use PyArg_UnpackTuple where possible. by Raymond Hettinger · 23 years ago
  72. a080be8 * Objects/fileobject.c by Gustavo Niemeyer · 23 years ago
  73. 786ddb2 Fixed bug by Gustavo Niemeyer · 23 years ago
  74. 6233c9b Patch #650834: Document 'U' in file mode, remove stale variables. by Martin v. Löwis · 23 years ago
  75. 0073f2e Fix --disable-unicode compilation problems. by Martin v. Löwis · 23 years ago
  76. c2e85bd Patch 594001: PEP 277 - Unicode file name support for Windows NT. by Mark Hammond · 23 years ago
  77. 8b73542 Reflow long lines. by Jeremy Hylton · 23 years ago
  78. d8b995f Make readahead functions static by Neal Norwitz · 23 years ago
  79. 7a6e959 SF patch 580331 by Oren Tirosh: make file objects their own iterator. by Guido van Rossum · 23 years ago
  80. 7a1f917 WINDOWS_LEAN_AND_MEAN: There is no such symbol, although a very few by Tim Peters · 23 years ago
  81. 6238d2b Patch #569753: Remove support for WIN16. by Martin v. Löwis · 23 years ago
  82. 14f8b4c Patch #568124: Add doc string macros. by Martin v. Löwis · 23 years ago
  83. 4be55b5 file_doc: Add some description of the U mode character, but only when by Barry Warsaw · 23 years ago
  84. 5de9842 Repair widespread misuse of _PyString_Resize. Since it's clear people by Tim Peters · 23 years ago
  85. e1682a8 Py_UniversalNewlineFread(): small speed boost on non-Windows boxes. by Tim Peters · 23 years ago
  86. 058b141 Py_UniversalNewlineFread(): Many changes. by Tim Peters · 23 years ago
  87. 7b8c754 Mass checkin of universal newline support. by Jack Jansen · 23 years ago
  88. aa769ae PyObject_Del can now be used as a function designator. by Neil Schemenauer · 23 years ago
  89. 2ea9111 SF bug 538827: Python open w/ MSVC6: bad error msgs. by Tim Peters · 23 years ago
  90. 7f7666f isatty() should return a bool. by Guido van Rossum · 23 years ago
  91. 77f6a65 Add the 'bool' type and its values 'False' and 'True', as described in by Guido van Rossum · 23 years ago
  92. 62f5a9d Convert file.readinto() to stop using METH_OLDARGS & PyArg_Parse. by Neal Norwitz · 23 years ago
  93. 3a204a7 Grow the string buffer at a mildly exponential rate for the getc version by Neil Schemenauer · 23 years ago
  94. ddea208 Give Python a debug-mode pymalloc, much as sketched on Python-Dev. by Tim Peters · 23 years ago
  95. ed19b88 Check in (hopefully) corrected version of last change. by Neil Schemenauer · 23 years ago
  96. 12a6d94 Undo last commit. It's causing the tests to file. by Neil Schemenauer · 23 years ago
  97. 398b9f6 Disallow open()ing of directories. Closes SF bug 487277. by Neil Schemenauer · 23 years ago
  98. f6eebbb Patch #530105: Allow file object may to be subtyped by Martin v. Löwis · 23 years ago
  99. 8f01b68 Change Windows file.truncate() to (a) restore the original file position, by Tim Peters · 23 years ago
  100. fb05db2 file_truncate(): provide full "large file" support on Windows, by by Tim Peters · 23 years ago