Show More
@@ -1596,7 +1596,7 b' class InteractiveShell(Configurable, Magic):' | |||||
1596 | include_latest=True): |
|
1596 | include_latest=True): | |
1597 | if cell.strip(): # Ignore blank lines |
|
1597 | if cell.strip(): # Ignore blank lines | |
1598 | for line in cell.splitlines(): |
|
1598 | for line in cell.splitlines(): | |
1599 | self.readline.add_history(line.encode(stdin_encoding)) |
|
1599 | self.readline.add_history(line.encode(stdin_encoding, 'replace')) | |
1600 |
|
1600 | |||
1601 | def set_next_input(self, s): |
|
1601 | def set_next_input(self, s): | |
1602 | """ Sets the 'default' input string for the next command line. |
|
1602 | """ Sets the 'default' input string for the next command line. |
General Comments 0
You need to be logged in to leave comments.
Login now