##// 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 KBINT = False
385 KBINT = False
386 return False
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 try:
392 try:
389 code = self.compile(source, filename, symbol)
393 code = self.compile(source, filename, symbol)
390 except (OverflowError, SyntaxError, ValueError):
394 except (OverflowError, SyntaxError, ValueError):
General Comments 0
You need to be logged in to leave comments. Login now