##// END OF EJS Templates
Remove the readline shell machinery...
Remove the readline shell machinery IPython now uses the prompt_toolkit based TerminalInteractiveShell instead, so this removes the readline code we're no longer using.

File last commit:

r22436:e14fb804
r22436:e14fb804
Show More
interactiveshell.py
18 lines | 734 B | text/x-python | PythonLexer
# -*- coding: utf-8 -*-
"""DEPRECATED: old import location of TerminalInteractiveShell"""
# Copyright (c) IPython Development Team.
# Distributed under the terms of the Modified BSD License.
from warnings import warn
from IPython.utils.decorators import undoc
from .ptshell import TerminalInteractiveShell as PromptToolkitShell
@undoc
class TerminalInteractiveShell(PromptToolkitShell):
def __init__(self, *args, **kwargs):
warn("This is a deprecated alias for IPython.terminal.ptshell.TerminalInteractiveShell. "
"The terminal interface of this class now uses prompt_toolkit instead of readline.",
DeprecationWarning, stacklevel=2)
PromptToolkitShell.__init__(self, *args, **kwargs)