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