##// END OF EJS Templates
handle more than one line of macros in threaded shells
Ville M. Vainio -
Show More
@@ -385,7 +385,7 b' class MTInteractiveShell(InteractiveShell):'
385 385
386 386 Modified version of code.py's runsource(), to handle threading issues.
387 387 See the original for full docstring details."""
388
388
389 389 global KBINT
390 390
391 391 # If Ctrl-C was typed, we reset the flag and return right away
@@ -415,7 +415,7 b' class MTInteractiveShell(InteractiveShell):'
415 415 if (self.worker_ident is None
416 416 or self.worker_ident == thread.get_ident() ):
417 417 InteractiveShell.runcode(self,code)
418 return
418 return False
419 419
420 420 # Case 3
421 421 # Store code in queue, so the execution thread can handle it.
General Comments 0
You need to be logged in to leave comments. Login now