##// 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 Modified version of code.py's runsource(), to handle threading issues.
386 Modified version of code.py's runsource(), to handle threading issues.
387 See the original for full docstring details."""
387 See the original for full docstring details."""
388
388
389 global KBINT
389 global KBINT
390
390
391 # If Ctrl-C was typed, we reset the flag and return right away
391 # If Ctrl-C was typed, we reset the flag and return right away
@@ -415,7 +415,7 b' class MTInteractiveShell(InteractiveShell):'
415 if (self.worker_ident is None
415 if (self.worker_ident is None
416 or self.worker_ident == thread.get_ident() ):
416 or self.worker_ident == thread.get_ident() ):
417 InteractiveShell.runcode(self,code)
417 InteractiveShell.runcode(self,code)
418 return
418 return False
419
419
420 # Case 3
420 # Case 3
421 # Store code in queue, so the execution thread can handle it.
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