50 Commits (786c8e7dd565aecafb020683705564c42e62fedc)

Author SHA1 Message Date
Charles-François Natali 605ee2406f Always define _PyIsSelectable_fd(). 15 years ago
Charles-François Natali fda7b379ac Issue #12287: Fix a stack corruption in ossaudiodev module when the FD is 15 years ago
Charles-François Natali aa26b27503 Issue #12287: Fix a stack corruption in ossaudiodev module when the FD is 15 years ago
Martin v. Löwis 4d0d471a80 Merge branches/pep-0384. 15 years ago
Victor Stinner 5b519e0201 Issue #9632: Remove sys.setfilesystemencoding() function: use PYTHONFSENCODING 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
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
Benjamin Peterson f91df0465d Merged revisions 69364-69365,69409-69410,69413,69417,69435,69442,69447,69495,69519-69521 via svnmerge from 17 years ago
Hirokazu Yamamoto bcd3ea86a3 Issue #5204: Define _PyVerify_fd on VC6 to make 17 years ago
Kristján Valur Jónsson 6a743d3694 Issue 4804. Add a function to test the validity of file descriptors on Windows, and stop using global runtime settings to silence the warnings / assertions. 17 years ago
Martin v. Löwis 04dc25c537 Issue #3187: Add sys.setfilesystemencoding. 18 years ago
Martin v. Löwis 99815892f6 New environment variable PYTHONIOENCODING. 18 years ago
Gregory P. Smith aa63d0d4af Make file objects as thread safe as the underlying libc FILE* implementation. 18 years ago
Christian Heimes e93237dfcc #1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and Py_REFCNT. Macros for b/w compatibility are available. 18 years ago
Guido van Rossum e7fc50f2d0 Add an errors parameter to open() and TextIOWrapper() to specify error handling. 18 years ago
Christian Heimes c896700235 Partial fix for bug #1306 18 years ago
Guido van Rossum 826d8973ac Patch 1352 (continued in issue 1329) by Christian Heimes. 18 years ago
Guido van Rossum 2dced8b602 Patch 1329 (partial) by Christian Heimes. 18 years ago
Guido van Rossum 40d20bcf1f Issue 1267, continued. 18 years ago
Guido van Rossum ce3a72aec6 Patch 1267 by Christian Heimes. 18 years ago
Martin v. Löwis 6819210b9e PEP 3123: Provide forward compatibility with Python 3.0, while keeping 19 years ago
Guido van Rossum da5b8f2d28 Rip out the file object's implementation. 19 years ago
Kristján Valur Jónsson a1392d5ace Merge change 54982 from the trunk. This fixes the test_subprocess test in the testsuite for VisualStudio2005 builds, by "sanitizing" the "mode" that is used in the posixmodule's fdopen(). In particular the non-standard "U" mode character is removed. 19 years ago
Guido van Rossum d8faa3654c Merged revisions 53952-54987 via svnmerge from 19 years ago
Kristján Valur Jónsson 0a440d4184 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. 19 years ago
Guido van Rossum 79139b247b Kill off softspace completely (except in formatter.py which seems to have 19 years ago
Raymond Hettinger cb87bc8e7e Add weakref support to array.array and file objects. 22 years ago
Skip Montanaro db6080507d Remove support for --without-universal-newlines (see PEP 11). 22 years ago
Martin v. Löwis 1e3bdf6c45 Patch #788249: Pass an explicit buffer to setvbuf in PyFile_SetBufSize(). 23 years ago
Martin v. Löwis 5467d4c0e3 Patch #612627: Add encoding attribute to file objects, and determine 23 years ago
Mark Hammond 91a681debf Excise DL_EXPORT from Include. 24 years ago
Guido van Rossum 7a6e95948c SF patch 580331 by Oren Tirosh: make file objects their own iterator. 24 years ago
Guido van Rossum a0a6c5a042 Add missing \ to macro definition only used when universal newlines 24 years ago
Tim Peters 058b141ef7 Py_UniversalNewlineFread(): Many changes. 24 years ago
Jack Jansen 7b8c7546eb Mass checkin of universal newline support. 24 years ago
Martin v. Löwis f6eebbb435 Patch #530105: Allow file object may to be subtyped 24 years ago
Tim Peters c1bbcb87aa PyFile_WriteString(): change prototype so that the string arg is 24 years ago
Tim Peters 59c9a645e2 SF bug [#460467] file objects should be subclassable. 25 years ago
Mark Hammond 26cffde4c2 Fix the Py_FileSystemDefaultEncoding checkin - declare the variable in a fileobject.h, and initialize it in bltinmodule. 25 years ago
Guido van Rossum 8586991099 REMOVED all CWI, CNRI and BeOpen copyright markings. 26 years ago
Andrew M. Kuchling 06051edc0d Added PyObject_AsFileDescriptor, which checks for integer, long integer, 26 years ago
Fred Drake ea9cb5aebf ANSI-fication and Py_PROTO extermination. 26 years ago
Guido van Rossum ffcc3813d8 Change copyright notice - 2nd try. 26 years ago
Guido van Rossum fd71b9e9d4 Change copyright notice. 26 years ago
Guido van Rossum 43466ec7b0 Add DL_IMPORT(returntype) for all officially exported functions. 27 years ago
Guido van Rossum 745b8cff08 flushline and writestring can now return an error 29 years ago
Guido van Rossum d266eb460e New permission notice, includes CNRI. 30 years ago
Guido van Rossum b422c24934 Added PyFile_decls for PyFile_WriteObject, PyFile_SoftSpace, 30 years ago