Show More
@@ -415,6 +415,7 b' class TerminalInteractiveShell(InteractiveShell):' | |||
|
415 | 415 | if display_banner is not DISPLAY_BANNER_DEPRECATED: |
|
416 | 416 | warn('interact `display_banner` argument is deprecated since IPython 5.0. Call `show_banner()` if needed.', DeprecationWarning, stacklevel=2) |
|
417 | 417 | |
|
418 | self.keep_running = True | |
|
418 | 419 | while self.keep_running: |
|
419 | 420 | print(self.separate_in, end='') |
|
420 | 421 | |
@@ -440,9 +441,6 b' class TerminalInteractiveShell(InteractiveShell):' | |||
|
440 | 441 | break |
|
441 | 442 | except KeyboardInterrupt: |
|
442 | 443 | print("\nKeyboardInterrupt escaped interact()\n") |
|
443 | ||
|
444 | if hasattr(self, '_eventloop'): | |
|
445 | self._eventloop.close() | |
|
446 | 444 | |
|
447 | 445 | _inputhook = None |
|
448 | 446 | def inputhook(self, context): |
General Comments 0
You need to be logged in to leave comments.
Login now