Éric Araujo
7f4b3be2cc
Fix typo “seperator”
2012-02-26 01:41:39 +01:00
Antoine Pitrou
5aa7df320f
Issue #13322 : Fix BufferedWriter.write() to ensure that BlockingIOError is
...
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.
2011-11-21 20:16:44 +01:00
Victor Stinner
daf17e9bc8
Issue #12175 : RawIOBase.readall() now returns None if read() returns None.
2011-05-25 22:52:37 +02:00
Antoine Pitrou
6439c00a6d
Merged revisions 88610 via svnmerge from
...
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.
........
2011-02-25 21:35:47 +00:00
Antoine Pitrou
fc9ead69e5
Merged revisions 87427 via svnmerge from
...
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.
........
2010-12-21 21:26:55 +00:00
Antoine Pitrou
6391b3440f
Merged revisions 84814 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r84814 | antoine.pitrou | 2010-09-14 20:37:24 +0200 (mar., 14 sept. 2010) | 4 lines
Issue #9854 : The default read() implementation in io.RawIOBase now
handles non-blocking readinto() returning None correctly.
........
2010-09-14 18:48:19 +00:00
Victor Stinner
7120219918
_pyio: Fix TextIOWrapper constructor: os has no device_encoding() function
...
_io module doesn't call this function which was introduced in Python3.
2010-05-04 11:35:36 +00:00
Antoine Pitrou
f7fd8e4c94
Issue #7865 : The close() method of :mod:`io` objects should not swallow
...
exceptions raised by the implicit flush(). Also ensure that calling
close() several times is supported. Patch by Pascal Chambon.
2010-05-03 16:25:33 +00:00
Benjamin Peterson
ae9f8bd2f9
correct signature
2010-04-27 21:19:06 +00:00
Benjamin Peterson
27737259b4
condense import
2010-04-27 21:18:30 +00:00
Benjamin Peterson
fed4abcc84
fold __future__ imports
2010-04-27 21:17:22 +00:00
Benjamin Peterson
5e9cc5efed
fix comment
2010-04-27 21:15:28 +00:00
Benjamin Peterson
a9bd6d5ea7
reject None as the buffering argument like the C implementation does #8546
2010-04-27 21:01:54 +00:00
Florent Xicluna
1f3b4e12e8
Fix some py3k warnings in the standard library.
2010-03-07 12:14:25 +00:00
Antoine Pitrou
f3fa074703
- Issue #6939 : Fix file I/O objects in the `io` module to keep the original
...
file position when calling `truncate()`. It would previously change the
file position to the given argument, which goes against the tradition of
ftruncate() and other truncation APIs. Patch by Pascal Chambon.
2010-01-31 22:26:04 +00:00
Antoine Pitrou
98a24def03
Remove superfetatory paragraph (left there by mistake).
2009-12-19 21:06:36 +00:00
Antoine Pitrou
e812d29b52
Issue #7545 : improve documentation of the `buffering` argument in io.open().
2009-12-19 21:01:10 +00:00
Antoine Pitrou
fa94e80f3b
Manual py3k backport: [svn r74158] Issue #6218 : Make io.BytesIO and io.StringIO picklable.
2009-10-24 12:23:18 +00:00
Antoine Pitrou
1969059327
Issue #6215 : backport the 3.1 io lib
2009-06-12 20:14:08 +00:00