summaryrefslogtreecommitdiff
path: root/Python/pythonrun.c
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2011-11-21 20:22:01 +0100
committerAntoine Pitrou <solipsis@pitrou.net>2011-11-21 20:22:01 +0100
commit7fe601c5bfa097b6c2aba78a3f517a1c4ded703d (patch)
tree797852f4b629bb31e82b7131a8407aac90566bc0 /Python/pythonrun.c
parent41dde32bf2f15d5dfcefc22e53c75da7e1503bfc (diff)
parent58fcf9f801d590b999401533154b63f4eb26ce6c (diff)
downloadcpython-git-7fe601c5bfa097b6c2aba78a3f517a1c4ded703d.tar.gz
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 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions