summaryrefslogtreecommitdiffstats
path: root/Modules/_io
Commit message (Collapse)AuthorAgeFilesLines
* Issue #20037: Avoid crashes when doing text I/O late at interpreter shutdown.Antoine Pitrou2013-12-216-7/+33
|
* Issue #15204: Deprecated the 'U' mode in file-like objects.Serhiy Storchaka2013-11-231-2/+8
|
* Issue #19515: Remove identifiers duplicated in the same file.Victor Stinner2013-11-122-4/+2
| | | | Patch written by Andrei Dorian Duma.
* Issue #19437: Fix _io._IOBase.close(), handle _PyObject_SetAttrId() failureVictor Stinner2013-11-071-3/+8
|
* Issue #19512: fileio_init() reuses PyId_name identifier instead of "name"Victor Stinner2013-11-061-2/+3
| | | | literal string
* Issue #18408: Fix iobase_readline(), handle PyByteArray_Resize() failureVictor Stinner2013-10-291-5/+8
|
* Issue #19356: Avoid using a C variabled named "_self", it's a reserved word ↵Antoine Pitrou2013-10-231-2/+2
|\ | | | | | | in some C compilers.
| * Issue #19356: Avoid using a C variabled named "_self", it's a reserved word ↵Antoine Pitrou2013-10-231-2/+2
| | | | | | | | in some C compilers.
* | Issue #9548: Add a minimal "_bootlocale" module that is imported by the _io ↵Antoine Pitrou2013-10-111-1/+1
| | | | | | | | module instead of the full locale module.
* | Issue #18876: The FileIO.mode attribute now better reflects the actual mode ↵Antoine Pitrou2013-09-041-9/+13
|\ \ | |/ | | | | | | | | under which the file was opened. Patch by Erik Bray.
| * Issue #18876: The FileIO.mode attribute now better reflects the actual mode ↵Antoine Pitrou2013-09-041-10/+13
| | | | | | | | | | | | under which the file was opened. Patch by Erik Bray.
* | Issue #18571: Implementation of the PEP 446: file descriptors and file handlesVictor Stinner2013-08-271-3/+29
| | | | | | | | | | are now created non-inheritable; add functions os.get/set_inheritable(), os.get/set_handle_inheritable() and socket.socket.get/set_inheritable().
* | Issue #13461: Fix a crash in the TextIOWrapper.tell method on 64-bit platforms.Serhiy Storchaka2013-08-201-1/+1
|\ \ | |/ | | | | Patch by Yogesh Chaudhari.
| * Issue #13461: Fix a crash in the TextIOWrapper.tell method on 64-bit platforms.Serhiy Storchaka2013-08-201-1/+1
| | | | | | | | Patch by Yogesh Chaudhari.
* | Issue #18608: Avoid keeping a strong reference to the locale module inside ↵Antoine Pitrou2013-08-013-27/+48
| | | | | | | | the _io module.
* | Fix use of uninitialized scalar variable, see 3f994367a979Christian Heimes2013-07-301-1/+3
| | | | | | | | CID 1058763
* | Issue #18112: PEP 442 implementation (safe object finalization).Antoine Pitrou2013-07-304-64/+163
| |
* | Issue #18408: PyEval_EvalFrameEx() and PyEval_CallObjectWithKeywords() now failVictor Stinner2013-07-171-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | with an assertion error if they are called with an exception set (PyErr_Occurred()). If these functions are called with an exception set, the exception may be cleared and so the caller looses its exception. Add also assertions to PyEval_CallObjectWithKeywords() and call_function() to check if the function succeed with no exception set, or the function failed with an exception set.
* | Issue #18408: Fix fileio_read() on _PyBytes_Resize() failureVictor Stinner2013-07-161-1/+1
| | | | | | | | bytes is NULL on _PyBytes_Resize() failure
* | Issue #18344: Fix potential ref-leaks in _bufferedreader_read_all().Richard Oudkerk2013-07-151-48/+45
|\ \ | |/
| * Issue #18344: Fix potential ref-leaks in _bufferedreader_read_all().Richard Oudkerk2013-07-151-48/+45
| |
* | If MS_WIN64 is defined, MS_WINDOWS is also defined: #ifdef can be simplified.Victor Stinner2013-06-242-8/+8
| |
* | Issue #9566: _io: Use Py_SAFE_DOWNCAST for fix a compiler warning on Windows x64Victor Stinner2013-06-241-1/+1
| |
* | Check for correct macro, code uses S_ISDIR().Christian Heimes2013-06-231-1/+1
|\ \ | |/
| * Check for correct macro, code uses S_ISDIR().Christian Heimes2013-06-231-1/+1
| |
* | Merge with 3.3Andrew Kuchling2013-06-162-4/+5
|\ \ | |/
| * Describe 'surrogateescape' in the documentation.Andrew Kuchling2013-06-162-4/+5
| | | | | | | | | | | | Also, improve some docstring descriptions of the 'errors' parameter. Closes #14015.
* | Issue #18025: Fixed a segfault in io.BufferedIOBase.readinto() when rawSerhiy Storchaka2013-05-281-0/+8
|\ \ | |/ | | | | stream's read() returns more bytes than requested.
| * Issue #18025: Fixed a segfault in io.BufferedIOBase.readinto() when rawSerhiy Storchaka2013-05-281-0/+8
| | | | | | | | stream's read() returns more bytes than requested.
* | FileIO.readall(): remove trailing space from an exception messageVictor Stinner2013-05-171-1/+1
| |
* | Issue #15758: Fix FileIO.readall() so it no longer has O(n**2) complexity.Richard Oudkerk2013-05-171-66/+52
| |
* | Merge 3.3, issue #17047: remove doubled words found in 2.7 to 3.4Terry Jan Reedy2013-03-111-1/+1
|\ \ | |/ | | | | Modules/*, as reported by Serhiy Storchaka and Matthew Barnett.
| * Merge 3.2, Issue #17047: remove doubled words found in 2.7 to 3.4Terry Jan Reedy2013-03-111-1/+1
| |\ | | | | | | | | | Modules/*, as reported by Serhiy Storchaka and Matthew Barnett.
| | * Issue #17047: remove doubled words found in 2.7 to 3.4 Modules/*,Terry Jan Reedy2013-03-111-1/+1
| | | | | | | | | | | | as reported by Serhiy Storchaka and Matthew Barnett.
* | | Merge #17275: Fix class name in init errors in C bufferedio classes.R David Murray2013-02-241-2/+2
|\ \ \ | |/ / | | | | | | | | | | | | This fixes an apparent copy-and-paste error. Patch by Manuel Jacob.
| * | Merge #17275: Fix class name in init errors in C bufferedio classes.R David Murray2013-02-241-2/+2
| |\ \ | | |/ | | | | | | | | | | | | This fixes an apparent copy-and-paste error. Patch by Manuel Jacob.
| | * #17275: Fix class name in init errors in C bufferedio classes.R David Murray2013-02-241-2/+2
| | | | | | | | | | | | | | | | | | This fixes an apparent copy-and-paste error. Patch by Manuel Jacob.
* | | Issue #17106: Fix a segmentation fault in io.TextIOWrapper when an underlyingSerhiy Storchaka2013-02-031-28/+48
|\ \ \ | |/ / | | | | | | | | | stream or a decoder produces data of an unexpected type (i.e. when io.TextIOWrapper initialized with text stream or use bytes-to-bytes codec).
| * | Issue #17106: Fix a segmentation fault in io.TextIOWrapper when an underlyingSerhiy Storchaka2013-02-031-28/+48
| |\ \ | | |/ | | | | | | | | | stream or a decoder produces data of an unexpected type (i.e. when io.TextIOWrapper initialized with text stream or use bytes-to-bytes codec).
| | * Issue #17106: Fix a segmentation fault in io.TextIOWrapper when an underlyingSerhiy Storchaka2013-02-031-18/+44
| | | | | | | | | | | | | | | stream or a decoder produces data of an unexpected type (i.e. when io.TextIOWrapper initialized with text stream or use bytes-to-bytes codec).
* | | Additional fix for issue #12268: The io module file object write methods noGregory P. Smith2013-02-012-3/+9
|\ \ \ | |/ / | | | | | | longer abort early when a write system call is interrupted (EINTR).
| * | Additional fix for issue #12268: The io module file object write methods noGregory P. Smith2013-02-012-3/+9
| |\ \ | | |/ | | | | | | longer abort early when a write system call is interrupted (EINTR).
| | * Additional fix for Issue #12268: The io module file object writelines() ↵Gregory P. Smith2013-02-012-3/+9
| | | | | | | | | | | | methods no longer abort early when one of its write system calls is interrupted (EINTR).
| * | Issue #15989: Fix several occurrences of integer overflowSerhiy Storchaka2013-01-192-3/+3
| |\ \ | | |/ | | | | | | | | | | | | when result of PyLong_AsLong() narrowed to int without checks. This is a backport of changesets 13e2e44db99d and 525407d89277.
| | * Issue #15989: Fix several occurrences of integer overflowSerhiy Storchaka2013-01-192-4/+5
| | | | | | | | | | | | | | | | | | when result of PyLong_AsLong() narrowed to int without checks. This is a backport of changesets 13e2e44db99d and 525407d89277.
* | | Issue #15989: Fix several occurrences of integer overflowSerhiy Storchaka2013-01-142-3/+3
| | | | | | | | | | | | when result of PyLong_AsLong() narrowed to int without checks.
* | | (Merge 3.3) Issue #16367: Fix FileIO.readall() on Windows for files larger ↵Victor Stinner2013-01-031-2/+11
|\ \ \ | |/ / | | | | | | than 2 GB.
| * | (Merge 3.2) Issue #16367: Fix FileIO.readall() on Windows for files larger ↵Victor Stinner2013-01-031-2/+11
| |\ \ | | |/ | | | | | | than 2 GB.
| | * Issue #16367: Fix FileIO.readall() on Windows for files larger than 2 GBVictor Stinner2013-01-031-2/+11
| | |
* | | merge 3.3 (#16597)Benjamin Peterson2012-12-202-9/+41
|\ \ \ | |/ /