diff options
author | Terry Jan Reedy <tjreedy@udel.edu> | 2013-06-08 04:22:45 (GMT) |
---|---|---|
committer | Terry Jan Reedy <tjreedy@udel.edu> | 2013-06-08 04:22:45 (GMT) |
commit | ba6c0d3b08768b1a6b9bebba5eeead840fdc9356 (patch) | |
tree | 43af5a771d5a7db76050f041c804d85fe93e08cf /Lib/idlelib/rpc.py | |
parent | 50793b44382e8d2bdd3a89a0c1ecd8eb97093e22 (diff) | |
download | cpython-ba6c0d3b08768b1a6b9bebba5eeead840fdc9356.zip cpython-ba6c0d3b08768b1a6b9bebba5eeead840fdc9356.tar.gz cpython-ba6c0d3b08768b1a6b9bebba5eeead840fdc9356.tar.bz2 |
#18151, part 1: Backport idlelilb portion of Andrew Svetlov's 3.4 patch
changing IOError to OSError (#16715).
Diffstat (limited to 'Lib/idlelib/rpc.py')
-rw-r--r-- | Lib/idlelib/rpc.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/idlelib/rpc.py b/Lib/idlelib/rpc.py index 6093ce2..ddce6e9 100644 --- a/Lib/idlelib/rpc.py +++ b/Lib/idlelib/rpc.py @@ -339,7 +339,7 @@ class SocketIO(object): r, w, x = select.select([], [self.sock], []) n = self.sock.send(s[:BUFSIZE]) except (AttributeError, TypeError): - raise IOError("socket no longer exists") + raise OSError("socket no longer exists") except socket.error: raise else: |