269 Commits (f051e43b22af014364e231c36489e6745993ea34)

Author SHA1 Message Date
Victor Stinner 559bb6a713 Rename _PyObject_FastCall() to _PyObject_FastCallDict() 10 years ago
Victor Stinner 9def0901e2 PyFile_WriteObject() now uses fast call 10 years ago
Victor Stinner 89719e1daf Issue #25182: Fix compilation on Windows 10 years ago
Serhiy Storchaka a59018c7ab Issue #25182: The stdprinter (used as sys.stderr before the io module is 10 years ago
Victor Stinner 454bd3a277 stdprinter_write(): mention the encoding 11 years ago
Victor Stinner 66aab0c4b5 Issue #23708: Add _Py_read() and _Py_write() functions to factorize code handle 11 years ago
Serhiy Storchaka c679227e31 Issue #1772673: The type of `char*` arguments now changed to `const char*`. 12 years ago
Serhiy Storchaka 9594942716 Issue #18783: Removed existing mentions of Python long type in docstrings, 13 years ago
Victor Stinner 14b9b11098 If MS_WIN64 is defined, MS_WINDOWS is also defined: #ifdef can be simplified. 13 years ago
Serhiy Storchaka 74f49ab28b Issue #15989: Fix several occurrences of integer overflow 13 years ago
Serhiy Storchaka 441d30fac7 Issue #15989: Fix several occurrences of integer overflow 13 years ago
Serhiy Storchaka 7898043868 Issue #15989: Fix several occurrences of integer overflow 13 years ago
Benjamin Peterson 5ca88d2b18 get the core to compile --disable-unicode 13 years ago
Gregory P. Smith b2ac4d693a Fixes issue #12268 for file readline, readlines and read() and readinto methods. 14 years ago
Antoine Pitrou 02a380105d Issue #14505: Fix file descriptor leak when deallocating file objects created with PyFile_FromString(). 14 years ago
Ezio Melotti eace3a7261 #14161: fix compile error under Windows. 14 years ago
Ezio Melotti 11f8b6872a #14161: fix the __repr__ of file objects to escape the file name. 14 years ago
Martin v. Löwis bd928fef42 Rename _Py_identifier to _Py_IDENTIFIER. 14 years ago
Nadeem Vawda 36248154a9 Issue #13159: Replace FileIO's quadratic-time buffer growth algorithm with a linear-time one. 14 years ago
Martin v. Löwis 1ee1b6fe0d Use identifier API for PyObject_GetAttrString. 14 years ago
Martin v. Löwis afe55bba33 Add API for static strings, primarily good for identifiers. 14 years ago
Martin v. Löwis d63a3b8beb Implement PEP 393. 14 years ago
Victor Stinner 63c22fac72 Issue #7732: Fix a crash on importing a module if a directory has the same name 15 years ago
Brett Cannon b94767ff44 Issue #8914: fix various warnings from the Clang static analyzer v254. 15 years ago
Victor Stinner dc5554008f Issue #9015, #9611: stdprinter.write() clamps the length to 2^31-1 on Windows 15 years ago
Antoine Pitrou 638cee62d5 Issue #9295: Fix a crash under Windows when calling close() on a file 15 years ago
Benjamin Peterson bf775542b0 iterators passed to writelines() can close their files; don't segfault #10125 15 years ago
Victor Stinner caafd77060 Issue #4947: The write() method of sys.stdout and sys.stderr uses their 16 years ago
Victor Stinner 3603cc5fdb Issue #9425: PyFile_FromFd() ignores the name argument 16 years ago
Antoine Pitrou 5de1594e28 Merged revisions 81275 via svnmerge from 16 years ago
Antoine Pitrou 83137c2e16 Issue #7079: Fix a possible crash when closing a file object while using 16 years ago
Antoine Pitrou 7f14f0d8a0 Recorded merge of revisions 81032 via svnmerge from 16 years ago
Antoine Pitrou f95a1b3c53 Recorded merge of revisions 81029 via svnmerge from 16 years ago
Antoine Pitrou c7c96a90bc Recorded merge of revisions 81029 via svnmerge from 16 years ago
Antoine Pitrou c83ea137d7 Untabify C files. Will watch buildbots. 16 years ago
Victor Stinner 0964ee1cf5 PyFile_FromFd() uses PyUnicode_DecodeFSDefault() instead of 16 years ago
Benjamin Peterson bea424af98 more _PyString_Resize error checking 16 years ago
Andrew M. Kuchling 00b6a5c03d #7706: DONT_HAVE_ERRNO_H is no longer defined by configure (after rev.46819). 16 years ago
Antoine Pitrou 2483728850 Merged revisions 77989 via svnmerge from 16 years ago
Antoine Pitrou bb445a1f22 Issue #5677: Explicitly forbid write operations on read-only file objects, 16 years ago
Hirokazu Yamamoto 5c3dd9a1ee Issue #6368: Fixed unused variable warning on Unix. 17 years ago
Hirokazu Yamamoto a3c5609079 Issue #4856: Remove checks for win NT. 17 years ago
Hirokazu Yamamoto b24bb27d22 Issue #3527: Removed Py_WIN_WIDE_FILENAMES which is not used any more. 17 years ago
Kristján Valur Jónsson fd4c872726 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. 17 years ago
Mark Dickinson e94c679df0 Issue #1717: rename tp_compare to tp_reserved. I'll change the 17 years ago
Georg Brandl 47fe9817f1 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 17 years ago
Benjamin Peterson fe231b07e4 #4764 set IOError.filename when trying to open a directory on POSIX platforms 17 years ago
Martin v. Löwis 3c08e45b70 Revert patch for #1706039, as it can crash the interpreter. 17 years ago
Martin v. Löwis 084486b234 Issue #1706039: Support continued reading from a file even after 17 years ago
Amaury Forgeot d'Arc 17617a07d1 #3965: on Windows, open() crashes if the filename or the mode is invalid, 18 years ago