##// END OF EJS Templates
remove obsolete InputList completely
Satrajit Ghosh -
Show More
@@ -21,7 +21,6 b' import sys'
21 # Our own packages
21 # Our own packages
22 import IPython.utils.io
22 import IPython.utils.io
23
23
24 from IPython.core.inputlist import InputList
25 from IPython.utils.pickleshare import PickleShareDB
24 from IPython.utils.pickleshare import PickleShareDB
26 from IPython.utils.io import ask_yes_no
25 from IPython.utils.io import ask_yes_no
27 from IPython.utils.warn import warn
26 from IPython.utils.warn import warn
@@ -37,9 +36,9 b' class HistoryManager(object):'
37
36
38 # An instance of the IPython shell we are attached to
37 # An instance of the IPython shell we are attached to
39 shell = None
38 shell = None
40 # An InputList instance to hold processed history
39 # A list to hold processed history
41 input_hist_parsed = None
40 input_hist_parsed = None
42 # An InputList instance to hold raw history (as typed by user)
41 # A list to hold raw history (as typed by user)
43 input_hist_raw = None
42 input_hist_raw = None
44 # A list of directories visited during session
43 # A list of directories visited during session
45 dir_hist = None
44 dir_hist = None
@@ -229,7 +228,7 b' class HistoryManager(object):'
229 def sync_inputs(self):
228 def sync_inputs(self):
230 """Ensure raw and translated histories have same length."""
229 """Ensure raw and translated histories have same length."""
231 if len(self.input_hist_parsed) != len (self.input_hist_raw):
230 if len(self.input_hist_parsed) != len (self.input_hist_raw):
232 self.input_hist_raw = InputList(self.input_hist_parsed)
231 self.input_hist_raw[:] = self.input_hist_parsed
233
232
234 def reset(self):
233 def reset(self):
235 """Clear all histories managed by this object."""
234 """Clear all histories managed by this object."""
@@ -23,7 +23,6 b' import sys'
23
23
24 from IPython.core.error import TryNext
24 from IPython.core.error import TryNext
25 from IPython.core.usage import interactive_usage, default_banner
25 from IPython.core.usage import interactive_usage, default_banner
26 from IPython.core.inputlist import InputList
27 from IPython.core.interactiveshell import InteractiveShell, InteractiveShellABC
26 from IPython.core.interactiveshell import InteractiveShell, InteractiveShellABC
28 from IPython.lib.inputhook import enable_gui
27 from IPython.lib.inputhook import enable_gui
29 from IPython.lib.pylabtools import pylab_activate
28 from IPython.lib.pylabtools import pylab_activate
1 NO CONTENT: file was removed
NO CONTENT: file was removed
General Comments 0
You need to be logged in to leave comments. Login now