cpython/Modules/_io
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
..
_iomodule.c Merged revisions 85864 via svnmerge from 2010-10-27 19:53:15 +00:00
_iomodule.h accept None as the same as having passed no argument in file types #7349 2009-12-13 19:19:07 +00:00
bufferedio.c Issue #13322: Fix BufferedWriter.write() to ensure that BlockingIOError is 2011-11-21 20:16:44 +01:00
bytesio.c Merged revisions 86587 via svnmerge from 2010-11-20 17:31:08 +00:00
fileio.c Issue #13159: Replace FileIO's quadratic-time buffer growth algorithm with a linear-time one. 2011-10-13 13:52:46 +02:00
iobase.c Issue #12175: RawIOBase.readall() now returns None if read() returns None. 2011-05-25 22:52:37 +02:00
stringio.c Issue #12434: make StringIO.write error message consistent with Python 2.7 nomenclature 2011-07-22 14:39:55 +03:00
textio.c Issue #7865: The close() method of :mod:`io` objects should not swallow 2010-05-03 16:25:33 +00:00