Show More
@@ -4,7 +4,7 b'' | |||
|
4 | 4 | All the matplotlib support code was co-developed with John Hunter, |
|
5 | 5 | matplotlib's author. |
|
6 | 6 | |
|
7 |
$Id: Shell.py 300 |
|
|
7 | $Id: Shell.py 3006 2008-02-01 18:00:26Z fperez $""" | |
|
8 | 8 | |
|
9 | 9 | #***************************************************************************** |
|
10 | 10 | # Copyright (C) 2001-2006 Fernando Perez <fperez@colorado.edu> |
@@ -456,10 +456,9 b' class MTInteractiveShell(InteractiveShell):' | |||
|
456 | 456 | # CODE_TO_RUN is set to true/false as close as possible to the |
|
457 | 457 | # runcode() call, so that the KBINT handler is correctly informed. |
|
458 | 458 | try: |
|
459 | try: | |
|
459 | 460 | CODE_RUN = True |
|
460 | 461 | InteractiveShell.runcode(self,code_to_run) |
|
461 | if got_lock: | |
|
462 | CODE_RUN = False | |
|
463 | 462 | except KeyboardInterrupt: |
|
464 | 463 | print "Keyboard interrupted in mainloop" |
|
465 | 464 | while not self.code_queue.empty(): |
General Comments 0
You need to be logged in to leave comments.
Login now