| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| | |
|
| |
|
|
|
| |
corresponds _PyErr_ChainExceptions() in Python 3 to help porting patches
from Python 3.
|
| |
|
|
| |
writer failed in BufferedRWPair.close().
|
| |
|
|
| |
flush() was not called in close() if closefd=False.
|
| |
|
|
| |
Patch by Martin Panter.
|
| | |
|
| |
|
|
| |
Patch by Terry Chia.
|
| | |
|
| |
|
|
| |
it ignored I/O errors if at least the first C call read() succeed.
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
ValueError.
Patch by Caelyn McAulay.
Neither Caelyn nor I could find any cases in 2.7 or 3.4/5 where an
operation on a closed stream raised IOError; generally the C
implementation have a macro to check for the stream being closed, and
these macros all raised ValueError. If we find any, a new bug should
be opened.
|
| |
|
|
| |
Based on patch by Stephen Tu.
|
| |
|
|
|
|
| |
under which the file was opened.
Patch by Erik Bray.
|
| |
|
|
| |
error handler on 64-bit platforms. Patch by Yogesh Chaudhari.
|
| |
|
|
| |
as reported by Serhiy Storchaka and Matthew Barnett.
|
| |
|
|
|
|
| |
This fixes an apparent copy-and-paste error.
Original patch by Manuel Jacob.
|
| |
|
|
|
| |
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).
|
| |
|
|
| |
no longer abort early when one of its write system calls is interrupted (EINTR).
|
| |
|
|
|
|
|
| |
when result of PyInt_AsLong() or PyLong_AsLong() narrowed
to int without checks.
This is a backport of changesets 13e2e44db99d and 525407d89277.
|
| | |
|
| | |
|
| |
|
|
| |
Patch by Serhiy Storchaka.
|
| |
|
|
|
|
|
|
|
|
|
| |
read or readall methods no longer lose data when an underlying read
system call is interrupted within an io module object. IOError is no
longer raised due to a read system call returning EINTR from within
these methods.
This is a backport of changeset 781b95159954 from 3.2.
The earlier 2.7 changeset 67dc99a989cd already fixed this for the
builtin python 2.x file object.
|
| | |
|
| |
|
|
|
| |
and io.StringIO objects now raise ValueError when the object has been closed.
Patch by Alessandro Moura.
|
| |
|
|
|
|
| |
errors correctly.
Patch by Serhiy Storchaka.
|
| |
|
|
| |
description from open().
|
| |
|
|
| |
Patch by Serhiy Storchaka.
|
| |
|
|
| |
Patch by Serhiy Storchaka.
|
| |
|
|
| |
pointing to a directory.
|
| |
|
|
| |
Loosely based on the work by Hirokazu Yamamoto.
|
| |
|
|
| |
Patch by Victor Stinner.
|
| | |
|
| | |
|
| |
|
|
|
|
|
| |
raised when the wrapped raw file is non-blocking and the write would block.
Previous code assumed that the raw write() would raise BlockingIOError, but
RawIOBase.write() is defined to returned None when the call would block.
Patch by sbt.
|
| |
|
|
|
|
| |
linear-time one.
Also fix the builtin file class and the bz2 module, which used the same algorithm.
|
| |
|
|
|
| |
would be finalized after the reference to its underlying BufferedRWPair's
writer got cleared by the GC.
|
| |
|
|
| |
could appear on io.BufferedRandom streams.
|
| |
|
|
| |
nomenclature
|
| |
|
|
| |
os.write() clamp the length to INT_MAX on Windows.
|
| | |
|
| |
|
|
| |
the file is closed.
|
| |
|
|
|
|
| |
type of I/O sequence on a file opened in read+write mode (namely: reading,
seeking a bit forward, writing, then seeking before the previous write but
still within buffered data, and writing again).
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
| |
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r88610 | antoine.pitrou | 2011-02-25 22:24:11 +0100 (ven., 25 févr. 2011) | 4 lines
Issue #10956: Buffered I/O classes retry reading or writing after a signal
has arrived and the handler returned successfully.
........
|
| |
|
|
|
|
|
|
|
|
| |
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r87427 | antoine.pitrou | 2010-12-21 22:20:59 +0100 (mar., 21 déc. 2010) | 3 lines
Issue #10750: The `raw` attribute of buffered IO objects is now read-only.
........
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r86981 | antoine.pitrou | 2010-12-03 19:41:39 +0100 (ven., 03 déc. 2010) | 5 lines
Issue #10478: Reentrant calls inside buffered IO objects (for example by
way of a signal handler) now raise a RuntimeError instead of freezing the
current process.
........
r86984 | antoine.pitrou | 2010-12-03 20:14:17 +0100 (ven., 03 déc. 2010) | 3 lines
Add an "advanced topics" section to the io doc.
........
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r85768 | georg.brandl | 2010-10-21 14:59:14 +0200 (Do, 21 Okt 2010) | 1 line
#9919: fix off-by-one error in lineno command in Misc/gdbinit; also add newline to its output.
........
r85769 | georg.brandl | 2010-10-21 15:01:23 +0200 (Do, 21 Okt 2010) | 1 line
Fix missing import.
........
r85770 | georg.brandl | 2010-10-21 15:29:10 +0200 (Do, 21 Okt 2010) | 1 line
#3077: fix h2py substitution of character literals.
........
r85771 | georg.brandl | 2010-10-21 15:34:51 +0200 (Do, 21 Okt 2010) | 1 line
#1203650: allow larger list of files in windows makefile for freeze.
........
r85773 | georg.brandl | 2010-10-21 15:45:52 +0200 (Do, 21 Okt 2010) | 1 line
#4829: better error message for invalid file mode
........
r85777 | georg.brandl | 2010-10-21 17:44:51 +0200 (Do, 21 Okt 2010) | 1 line
Add .hgeol file for the Mercurial EOL extension.
........
r85823 | georg.brandl | 2010-10-24 16:32:45 +0200 (So, 24 Okt 2010) | 1 line
Fix style.
........
r85825 | georg.brandl | 2010-10-24 17:16:02 +0200 (So, 24 Okt 2010) | 1 line
Add documentation about the default warnings filters.
........
|