Show More
@@ -6,7 +6,7 b' Requires Python 2.3 or newer.' | |||||
6 |
|
6 | |||
7 | This file contains all the classes and helper functions specific to IPython. |
|
7 | This file contains all the classes and helper functions specific to IPython. | |
8 |
|
8 | |||
9 |
$Id: iplib.py 291 |
|
9 | $Id: iplib.py 2919 2007-12-31 14:45:55Z vivainio $ | |
10 | """ |
|
10 | """ | |
11 |
|
11 | |||
12 | #***************************************************************************** |
|
12 | #***************************************************************************** | |
@@ -1504,7 +1504,7 b' want to merge them back into the new files.""" % locals()' | |||||
1504 | # Though this won't be called by syntax errors in the input line, |
|
1504 | # Though this won't be called by syntax errors in the input line, | |
1505 | # there may be SyntaxError cases whith imported code. |
|
1505 | # there may be SyntaxError cases whith imported code. | |
1506 |
|
1506 | |||
1507 |
|
1507 | try: | ||
1508 | if exc_tuple is None: |
|
1508 | if exc_tuple is None: | |
1509 | etype, value, tb = sys.exc_info() |
|
1509 | etype, value, tb = sys.exc_info() | |
1510 | else: |
|
1510 | else: | |
@@ -1530,6 +1530,9 b' want to merge them back into the new files.""" % locals()' | |||||
1530 | if self.InteractiveTB.call_pdb and self.has_readline: |
|
1530 | if self.InteractiveTB.call_pdb and self.has_readline: | |
1531 | # pdb mucks up readline, fix it back |
|
1531 | # pdb mucks up readline, fix it back | |
1532 | self.set_completer() |
|
1532 | self.set_completer() | |
|
1533 | except KeyboardInterrupt: | |||
|
1534 | self.write("\nKeyboardInterrupt\n") | |||
|
1535 | ||||
1533 |
|
1536 | |||
1534 |
|
1537 | |||
1535 | def mainloop(self,banner=None): |
|
1538 | def mainloop(self,banner=None): |
General Comments 0
You need to be logged in to leave comments.
Login now