summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/rpc.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/idlelib/rpc.py')
-rw-r--r--Lib/idlelib/rpc.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/Lib/idlelib/rpc.py b/Lib/idlelib/rpc.py
index c75be10..eb262f4 100644
--- a/Lib/idlelib/rpc.py
+++ b/Lib/idlelib/rpc.py
@@ -256,8 +256,8 @@ class SocketIO(object):
return None
if how == "ERROR":
self.debug("decoderesponse: Internal ERROR:", what)
- raise RuntimeError, what
- raise SystemError, (how, what)
+ raise RuntimeError(what)
+ raise SystemError(how, what)
def decode_interrupthook(self):
""
@@ -331,7 +331,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 IOError("socket no longer exists")
except socket.error:
raise
else:
@@ -557,7 +557,7 @@ class RPCProxy(object):
(name,), {})
return value
else:
- raise AttributeError, name
+ raise AttributeError(name)
def __getattributes(self):
self.__attributes = self.sockio.remotecall(self.oid,
ug_3601260 Tcl is a high-level, general-purpose, interpreted, dynamic programming language. It was designed with the goal of being very simple but powerful.
summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* merge trunktip_400_impldkf2012-10-164-18/+30
|\
| * Bug 3576509: Better fix, which helps for all Tcl_DictObjGet() calls in Tcl's ↵jan.nijtmans2012-10-143-1/+8
| |\ | | | | | | | | | source code.
| | * Bug 357650: Better fix, which helps for all Tcl_DictObjGet() calls in Tcl's ↵jan.nijtmans2012-10-143-1/+8
| | | | | | | | | | | | source code.
| * | Bug 3576509: tcl::Bgerror crashes with invalid argumentsjan.nijtmans2012-10-132-1/+6
| |\ \ | | |/
| | * Bug 3576509: tcl::Bgerror crashes with invalid argumentsjan.nijtmans2012-10-132-1/+6
| | |
| * | [Bug 2459774] win/tcl/Makefile.in not compatible with msys 0.8.jan.nijtmans2012-10-062-17/+16
| | |
| * | 3574819 Increase test robustness by creating files in fresh directory todgp2012-10-051-1/+2
| | | | | | | | | reduce trouble with any existing files in an existing directory.
* | | merge trunkdkf2012-10-042-3/+15
|\ \ \ | |/ /
| | |
| | \
| | \
| | \
| *---. \ When checking for std channels being closed, compare the channel state,dgp2012-10-032-3/+15
| |\ \ \ \ | | | | |/ | | | | | not the channel itself so that stacked channels do not cause trouble.
| | | | * When checking for std channels being closed, compare the channel state,dgp2012-10-032-5/+15
| | | | |\ | | | |/ / | | |/| | not the channel itself so that stacked channels do not cause trouble.
| | | | * When checking for std channels being closed, compare the channel state,dgp2012-10-032-20/+30
| | | | | | | | | | | | | | | not the channel itself so that stacked channels do not cause trouble.
| | * | | tip#404 file locale mcset: mc(fl)(m)set backport from 8.6oehhar2012-09-25