| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|\
| |
| |
| | |
Patch by Serhiy Storchaka.
|
| |
| |
| |
| | |
Patch by Serhiy Storchaka.
|
| |
| |
| |
| | |
BufferedWriter and BufferedRWPair.
|
|\ \
| |/
| |
| |
| |
| |
| |
| | |
to using signal.alarm(1) instead of signal.setitimer(signal.ITIMER_REAL, 0.1).
This is an attempt to see if this change is what caused the ubuntu arm buildbot
to hang in test_io's test_interrupted_write_retry_text.
Discussion in Issue #12268.
|
| |
| |
| |
| |
| |
| |
| |
| | |
to using signal.alarm(1) instead of signal.setitimer(signal.ITIMER_REAL, 0.1).
This is an attempt to see if this change is what caused the ubuntu arm buildbot
to hang in test_io's test_interrupted_write_retry_text.
Discussion in Issue #12268.
|
|\ \
| |/
| |
| |
| |
| | |
no longer lose data when an underlying read system call is interrupted.
IOError is no longer raised due to a read system call returning EINTR
from within these methods.
|
| |
| |
| |
| | |
alarm for the signal tests.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
open() and io.TextIOWrapper are now calling locale.getpreferredencoding(False)
instead of locale.getpreferredencoding() in text mode if the encoding is not
specified. Don't change temporary the locale encoding using locale.setlocale(),
use the current locale encoding instead of the user preferred encoding.
Explain also in open() documentation that locale.getpreferredencoding(False) is
called if the encoding is not specified.
|
|\ \
| |/
| |
| | |
Patch by Victor Stinner.
|
| |
| |
| |
| | |
Patch by Victor Stinner.
|
|\ \
| |/
| |
| |
| |
| | |
in the file name.
Patch by Hynek Schlawack.
|
| |
| |
| |
| |
| |
| | |
in the file name.
Patch by Hynek Schlawack.
|
| | |
|
|\ \
| |/
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| |
| |
| | |
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.
|
| | |
|
| | |
|
|\ \
| |/
| |
| |
| | |
would be finalized after the reference to its underlying BufferedRWPair's
writer got cleared by the GC.
|
| |
| |
| |
| |
| | |
would be finalized after the reference to its underlying BufferedRWPair's
writer got cleared by the GC.
|
|\ \
| |/
| |
| |
| | |
if the underlying raw stream is unseekable, even if the seek could be
satisfied using the internal buffer. Patch by John OConnor.
|
| |
| |
| |
| |
| | |
if the underlying raw stream is unseekable, even if the seek could be
satisfied using the internal buffer. Patch by John O'Connor.
|
| | |
|
|\ \
| |/ |
|
| | |
|
|\ \
| |/
| |
| | |
could appear on BufferedRandom streams.
|
| |
| |
| |
| | |
could appear on BufferedRandom streams.
|
|\ \
| |/ |
|
| | |
|
|\ \
| |/
| |
| |
| | |
a read1() method), and add a *write_through* parameter to
mandate unbuffered writes.
|
| |
| |
| |
| |
| | |
a read1() method), and add an undocumented *write_through* parameter to
mandate unbuffered writes.
|
|\ \
| |/
| |
| |
| |
| |
| |
| |
| | |
cleared by the garbage collector. This fixes a segfault when an instance
and its type get caught in a reference cycle, and the instance's
deallocator calls one of the methods on the type (e.g. when subclassing
IOBase).
Diagnosis and patch by Davide Rizzo.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
cleared by the garbage collector. This fixes a segfault when an instance
and its type get caught in a reference cycle, and the instance's
deallocator calls one of the methods on the type (e.g. when subclassing
IOBase).
Diagnosis and patch by Davide Rizzo.
|
| |
| |
| |
| | |
On FreeBSD, the SIGALRM signal is sometimes received by the reader thread.
|
| |
| |
| |
| | |
underlying OS pipe buffer size.
|
|\ \
| |/
| |
| | |
returns None.
|
| |\
| | |
| | |
| | | |
returns None.
|
| | | |
|
|\ \ \
| |/ /
| | |
| | | |
an IOError if the file is closed.
|
| |\ \
| | |/
| | |
| | | |
an IOError if the file is closed.
|
| | |
| | |
| | |
| | | |
the file is closed.
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | | |
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).
|
| |\ \
| | |/
| | |
| | |
| | |
| | | |
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).
|
| | |
| | |
| | |
| | |
| | |
| | | |
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
........
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
........
r86596 | ezio.melotti | 2010-11-20 21:04:17 +0200 (Sat, 20 Nov 2010) | 1 line
#9424: Replace deprecated assert* methods in the Python test suite.
........
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r85482 | antoine.pitrou | 2010-10-14 17:34:31 +0200 (jeu., 14 oct. 2010) | 4 lines
Replace the "compiler" resource with the more generic "cpu", so
as to mark CPU-heavy tests.
........
|