Show More
@@ -122,10 +122,11 b' class Kernel(Configurable):' | |||||
122 | """Do one iteration of the kernel's evaluation loop. |
|
122 | """Do one iteration of the kernel's evaluation loop. | |
123 | """ |
|
123 | """ | |
124 | ident,msg = self.session.recv(self.shell_socket, zmq.NOBLOCK) |
|
124 | ident,msg = self.session.recv(self.shell_socket, zmq.NOBLOCK) | |
125 | msg_type = msg['header']['msg_type'] |
|
|||
126 | if msg is None: |
|
125 | if msg is None: | |
127 | return |
|
126 | return | |
128 |
|
127 | |||
|
128 | msg_type = msg['header']['msg_type'] | |||
|
129 | ||||
129 | # This assert will raise in versions of zeromq 2.0.7 and lesser. |
|
130 | # This assert will raise in versions of zeromq 2.0.7 and lesser. | |
130 | # We now require 2.0.8 or above, so we can uncomment for safety. |
|
131 | # We now require 2.0.8 or above, so we can uncomment for safety. | |
131 | # print(ident,msg, file=sys.__stdout__) |
|
132 | # print(ident,msg, file=sys.__stdout__) |
General Comments 0
You need to be logged in to leave comments.
Login now