summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/rpc.py
diff options
context:
space:
mode:
authorKurt B. Kaiser <kbk@shore.net>2002-11-30 06:18:00 (GMT)
committerKurt B. Kaiser <kbk@shore.net>2002-11-30 06:18:00 (GMT)
commit6e44cc236900c8f85164e543d0d3e7f429a1f1c8 (patch)
tree0956752ca71c0e4515c197bcfb6c0b52549a7406 /Lib/idlelib/rpc.py
parenta59ef7bbe025b05f5db0973ebdf8d973bf639e26 (diff)
downloadcpython-6e44cc236900c8f85164e543d0d3e7f429a1f1c8.zip
cpython-6e44cc236900c8f85164e543d0d3e7f429a1f1c8.tar.gz
cpython-6e44cc236900c8f85164e543d0d3e7f429a1f1c8.tar.bz2
M PyShell.py
M rpc.py SF Bug 629987: Idle not printing prompts following SyntaxError
Diffstat (limited to 'Lib/idlelib/rpc.py')
-rw-r--r--Lib/idlelib/rpc.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/idlelib/rpc.py b/Lib/idlelib/rpc.py
index eeb1b4e..4bbf0bb 100644
--- a/Lib/idlelib/rpc.py
+++ b/Lib/idlelib/rpc.py
@@ -90,7 +90,7 @@ objecttable = {}
class SocketIO:
- debugging = 0
+ debugging = False
def __init__(self, sock, objtable=None, debugging=None):
self.mainthread = threading.currentThread()
@@ -189,6 +189,7 @@ class SocketIO:
def asyncreturn(self, seq):
response = self.getresponse(seq)
+ self.debug("asyncreturn:", response)
return self.decoderesponse(response)
def decoderesponse(self, response):