summaryrefslogtreecommitdiff
path: root/Python/pythonrun.c
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2011-11-21 20:16:44 +0100
committerAntoine Pitrou <solipsis@pitrou.net>2011-11-21 20:16:44 +0100
commitc87cc63ba9a815148e73993288b9e6b8a9ce09b3 (patch)
tree9b715891528de4138e2c0504d023910b9135484a /Python/pythonrun.c
parent8fcfc967753bfda04f32a652917de60a2527c666 (diff)
downloadcpython-c87cc63ba9a815148e73993288b9e6b8a9ce09b3.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