##// END OF EJS Templates
MTInteractiveShell.runsource() - return immediately if we are being killed (code would never get run -> deadlock)
vivainio2 -
Show More
@@ -385,6 +385,10 b' class MTInteractiveShell(InteractiveShell):'
385 385 KBINT = False
386 386 return False
387 387
388 if self._kill:
389 # can't queue new code if we are being killed
390 return True
391
388 392 try:
389 393 code = self.compile(source, filename, symbol)
390 394 except (OverflowError, SyntaxError, ValueError):
General Comments 0
You need to be logged in to leave comments. Login now