##// END OF EJS Templates
protect execution_count from longs returned by json
MinRK -
Show More
@@ -101,7 +101,7 b' class ZMQTerminalInteractiveShell(TerminalInteractiveShell):'
101 for frame in msg["content"]["traceback"]:
101 for frame in msg["content"]["traceback"]:
102 print(frame, file=io.stderr)
102 print(frame, file=io.stderr)
103
103
104 self.execution_count = msg["content"]["execution_count"] + 1
104 self.execution_count = int(msg["content"]["execution_count"] + 1)
105
105
106
106
107 def handle_iopub(self):
107 def handle_iopub(self):
General Comments 0
You need to be logged in to leave comments. Login now