summaryrefslogtreecommitdiffstats
path: root/Include/code.h
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2011-11-21 19:22:01 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2011-11-21 19:22:01 (GMT)
commit7fe601c5bfa097b6c2aba78a3f517a1c4ded703d (patch)
tree797852f4b629bb31e82b7131a8407aac90566bc0 /Include/code.h
parent41dde32bf2f15d5dfcefc22e53c75da7e1503bfc (diff)
parent58fcf9f801d590b999401533154b63f4eb26ce6c (diff)
downloadcpython-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/code.h')
0 files changed, 0 insertions, 0 deletions