diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2011-11-21 19:22:01 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2011-11-21 19:22:01 (GMT) |
commit | 7fe601c5bfa097b6c2aba78a3f517a1c4ded703d (patch) | |
tree | 797852f4b629bb31e82b7131a8407aac90566bc0 /Include | |
parent | 41dde32bf2f15d5dfcefc22e53c75da7e1503bfc (diff) | |
parent | 58fcf9f801d590b999401533154b63f4eb26ce6c (diff) | |
download | cpython-7fe601c5bfa097b6c2aba78a3f517a1c4ded703d.zip cpython-7fe601c5bfa097b6c2aba78a3f517a1c4ded703d.tar.gz cpython-7fe601c5bfa097b6c2aba78a3f517a1c4ded703d.tar.bz2 |
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.
Diffstat (limited to 'Include')
0 files changed, 0 insertions, 0 deletions