Show More
@@ -525,7 +525,7 b' class TerminalInteractiveShell(InteractiveShell):' | |||||
525 | prompt = py3compat.cast_bytes_py2(prompt) |
|
525 | prompt = py3compat.cast_bytes_py2(prompt) | |
526 |
|
526 | |||
527 | try: |
|
527 | try: | |
528 |
line = py3compat.st |
|
528 | line = py3compat.cast_unicode_py2(self.raw_input_original(prompt)) | |
529 | except ValueError: |
|
529 | except ValueError: | |
530 | warn("\n********\nYou or a %run:ed script called sys.stdin.close()" |
|
530 | warn("\n********\nYou or a %run:ed script called sys.stdin.close()" | |
531 | " or sys.stdout.close()!\nExiting IPython!\n") |
|
531 | " or sys.stdout.close()!\nExiting IPython!\n") |
General Comments 0
You need to be logged in to leave comments.
Login now