##// END OF EJS Templates
Remove Jedi integration before 5.0...
Remove Jedi integration before 5.0 There are a few bugs, and things to iron out that we will likely not have the chance to do before 5.0, do deactivating (removing) jedi integration for now, we can always resurrect the current code from git history.

File last commit:

r21515:2c9013e4
r22352:c4587c21
Show More
nbformat.py
19 lines | 627 B | text/x-python | PythonLexer
"""
Shim to maintain backwards compatibility with old IPython.nbformat imports.
"""
# Copyright (c) IPython Development Team.
# Distributed under the terms of the Modified BSD License.
import sys
from warnings import warn
from IPython.utils.shimmodule import ShimModule, ShimWarning
warn("The `IPython.nbformat` package has been deprecated. "
"You should import from nbformat instead.", ShimWarning)
# Unconditionally insert the shim into sys.modules so that further import calls
# trigger the custom attribute access above
sys.modules['IPython.nbformat'] = ShimModule(
src='IPython.nbformat', mirror='nbformat')