Permalink
Browse files

Make exit work in terminal based IPython

This bug was introduced in commit:
46b78b3

Also see:
http://mail.scipy.org/pipermail/ipython-dev/2011-January/007051.html

Signed-off-by: Thomas Spura <tomspur@fedoraproject.org>
  • Loading branch information...
1 parent 8bac8cb commit de303b315d6fc43ed57d76599521ee06c8602ed1 @tomspur committed Jan 10, 2011
Showing with 0 additions and 3 deletions.
  1. +0 −2 IPython/core/interactiveshell.py
  2. +0 −1 IPython/frontend/terminal/interactiveshell.py
View
2 IPython/core/interactiveshell.py
@@ -294,8 +294,6 @@ def __init__(self, config=None, ipython_dir=None,
self.init_payload()
self.hooks.late_startup_hook()
atexit.register(self.atexit_operations)
- self.history_thread = HistorySaveThread(self, 60, False)
- self.history_thread.start()
# While we're trying to have each part of the code directly access what it
# needs without keeping redundant references to objects, we have too much
View
1 IPython/frontend/terminal/interactiveshell.py
@@ -24,7 +24,6 @@
from IPython.core.error import TryNext
from IPython.core.usage import interactive_usage, default_banner
from IPython.core.interactiveshell import InteractiveShell, InteractiveShellABC
-from IPython.core.history import HistorySaveThread
from IPython.lib.inputhook import enable_gui
from IPython.lib.pylabtools import pylab_activate
from IPython.utils.terminal import toggle_set_term_title, set_term_title

0 comments on commit de303b3

Please sign in to comment.