Show More
@@ -6,7 +6,7 b' Requires Python 2.3 or newer.' | |||
|
6 | 6 | |
|
7 | 7 | This file contains all the classes and helper functions specific to IPython. |
|
8 | 8 | |
|
9 |
$Id: iplib.py 300 |
|
|
9 | $Id: iplib.py 3005 2008-02-01 16:43:34Z vivainio $ | |
|
10 | 10 | """ |
|
11 | 11 | |
|
12 | 12 | #***************************************************************************** |
@@ -1562,8 +1562,9 b' want to merge them back into the new files.""" % locals()' | |||
|
1562 | 1562 | while 1: |
|
1563 | 1563 | try: |
|
1564 | 1564 | self.interact(banner) |
|
1565 | # XXX for testing of a readline-decoupled repl loop | |
|
1566 | #self.interact_with_readline() | |
|
1565 | #self.interact_with_readline() | |
|
1566 | # XXX for testing of a readline-decoupled repl loop, call interact_with_readline above | |
|
1567 | ||
|
1567 | 1568 | break |
|
1568 | 1569 | except KeyboardInterrupt: |
|
1569 | 1570 | # this should not be necessary, but KeyboardInterrupt |
@@ -1702,7 +1703,11 b' want to merge them back into the new files.""" % locals()' | |||
|
1702 | 1703 | self.readline_startup_hook(self.pre_readline) |
|
1703 | 1704 | while not self.exit_now: |
|
1704 | 1705 | self.interact_prompt() |
|
1705 | line = line = raw_input_original().decode(self.stdin_encoding) | |
|
1706 | if self.more: | |
|
1707 | self.rl_do_indent = True | |
|
1708 | else: | |
|
1709 | self.rl_do_indent = False | |
|
1710 | line = raw_input_original().decode(self.stdin_encoding) | |
|
1706 | 1711 | self.interact_handle_input(line) |
|
1707 | 1712 | |
|
1708 | 1713 |
General Comments 0
You need to be logged in to leave comments.
Login now