mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Don't show deprecation warning for IPython 1.1.0 (PY-10800).
This commit is contained in:
@@ -11,10 +11,10 @@ os.environ['TERM'] = 'emacs' #to use proper page_more() for paging
|
||||
#raise ImportError()
|
||||
|
||||
try:
|
||||
from pydev_ipython_console_010 import PyDevFrontEnd
|
||||
except:
|
||||
#IPython 0.11 broke compatibility...
|
||||
from pydev_ipython_console_011 import PyDevFrontEnd
|
||||
except:
|
||||
from pydev_ipython_console_010 import PyDevFrontEnd
|
||||
|
||||
#=======================================================================================================================
|
||||
# InterpreterInterface
|
||||
|
||||
@@ -1,4 +1,7 @@
|
||||
from IPython.frontend.terminal.interactiveshell import TerminalInteractiveShell
|
||||
try:
|
||||
from IPython.terminal.interactiveshell import TerminalInteractiveShell
|
||||
except ImportError:
|
||||
from IPython.frontend.terminal.interactiveshell import TerminalInteractiveShell
|
||||
from IPython.utils import io
|
||||
import sys
|
||||
import codeop, re
|
||||
|
||||
Reference in New Issue
Block a user