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 25 |
|
|
9 | $Id: iplib.py 2596 2007-08-08 11:41:01Z vivainio $ | |
|
10 | 10 | """ |
|
11 | 11 | |
|
12 | 12 | #***************************************************************************** |
@@ -1819,6 +1819,8 b' want to merge them back into the new files.""" % locals()' | |||
|
1819 | 1819 | # away, so the user gets the error message at the right place. |
|
1820 | 1820 | if more is None: |
|
1821 | 1821 | break |
|
1822 | else: | |
|
1823 | self.input_hist_raw.append("\n") | |
|
1822 | 1824 | # final newline in case the input didn't have it, so that the code |
|
1823 | 1825 | # actually does get executed |
|
1824 | 1826 | if more: |
@@ -2025,10 +2027,11 b' want to merge them back into the new files.""" % locals()' | |||
|
2025 | 2027 | pass # re{move,place}_history_item are new in 2.4. |
|
2026 | 2028 | else: |
|
2027 | 2029 | self.input_hist_raw.append('%s\n' % line) |
|
2028 | ||
|
2030 | # only entries starting at first column go to shadow history | |
|
2029 | 2031 | if line.lstrip() == line: |
|
2030 | 2032 | self.shadowhist.add(line.strip()) |
|
2031 |
|
|
|
2033 | else: | |
|
2034 | self.input_hist_raw.append('\n') | |
|
2032 | 2035 | try: |
|
2033 | 2036 | lineout = self.prefilter(line,continue_prompt) |
|
2034 | 2037 | except: |
General Comments 0
You need to be logged in to leave comments.
Login now