##// END OF EJS Templates
Merge pull request #2299 from takluyver/remove-duplicate-input-transforms...
Merge pull request #2299 from takluyver/remove-duplicate-input-transforms Remove code from prefilter that duplicates functionality in inputsplitter This is the first step towards implementing IPEP 2 (#2293). Removed all the static transformations from prefilter, because we're relying on the equivalent functionality in inputsplitter. Note that this is a backwards-incompatible change for anyone who might have relied on the low-level details of the prefiltering machinery. Regular users of the IPython applications themselves will not see any changes in behavior.

File last commit:

r5390:c82649ea
r8219:06a7a574 merge
Show More
ipapi.py
29 lines | 1.2 KiB | text/x-python | PythonLexer
# encoding: utf-8
"""
This module is *completely* deprecated and should no longer be used for
any purpose. Currently, we have a few parts of the core that have
not been componentized and thus, still rely on this module. When everything
has been made into a component, this module will be sent to deathrow.
"""
#-----------------------------------------------------------------------------
# Copyright (C) 2008-2011 The IPython Development Team
#
# Distributed under the terms of the BSD License. The full license is in
# the file COPYING, distributed as part of this software.
#-----------------------------------------------------------------------------
#-----------------------------------------------------------------------------
# Imports
#-----------------------------------------------------------------------------
#-----------------------------------------------------------------------------
# Classes and functions
#-----------------------------------------------------------------------------
def get():
"""Get the global InteractiveShell instance."""
from IPython.core.interactiveshell import InteractiveShell
return InteractiveShell.instance()