Show More
@@ -1828,7 +1828,6 b' class InteractiveShell(Configurable, Magic):' | |||
|
1828 | 1828 | self.resetbuffer() |
|
1829 | 1829 | lines = lines.splitlines() |
|
1830 | 1830 | more = 0 |
|
1831 | ||
|
1832 | 1831 | with nested(self.builtin_trap, self.display_trap): |
|
1833 | 1832 | for line in lines: |
|
1834 | 1833 | # skip blank lines so we don't mess up the prompt counter, but do |
@@ -1837,8 +1836,9 b' class InteractiveShell(Configurable, Magic):' | |||
|
1837 | 1836 | |
|
1838 | 1837 | if line or more: |
|
1839 | 1838 | # push to raw history, so hist line numbers stay in sync |
|
1840 |
self.input_hist_raw.append( |
|
|
1841 |
prefiltered = self.prefilter_manager.prefilter_lines(line, |
|
|
1839 | self.input_hist_raw.append(line + '\n') | |
|
1840 | prefiltered = self.prefilter_manager.prefilter_lines(line, | |
|
1841 | more) | |
|
1842 | 1842 | more = self.push_line(prefiltered) |
|
1843 | 1843 | # IPython's runsource returns None if there was an error |
|
1844 | 1844 | # compiling the code. This allows us to stop processing right |
General Comments 0
You need to be logged in to leave comments.
Login now