From d7af1ed20f833007310a7eef63d8b1fa73dd390a 2017-05-25 19:30:43 From: Matthias Bussonnier Date: 2017-05-25 19:30:43 Subject: [PATCH] Remove a shadow namespace that does nothing. --- diff --git a/IPython/core/interactiveshell.py b/IPython/core/interactiveshell.py index b9cee99..892f53f 100644 --- a/IPython/core/interactiveshell.py +++ b/IPython/core/interactiveshell.py @@ -34,7 +34,6 @@ from IPython.core import oinspect from IPython.core import magic from IPython.core import page from IPython.core import prefilter -from IPython.core import shadowns from IPython.core import ultratb from IPython.core.alias import Alias, AliasManager from IPython.core.autocall import ExitAutocall @@ -1155,8 +1154,6 @@ class InteractiveShell(SingletonConfigurable): ns['_oh'] = self.history_manager.output_hist ns['_dh'] = self.history_manager.dir_hist - ns['_sh'] = shadowns - # user aliases to input and output histories. These shouldn't show up # in %who, as they can have very large reprs. ns['In'] = self.history_manager.input_hist_parsed diff --git a/IPython/core/shadowns.py b/IPython/core/shadowns.py deleted file mode 100644 index d2d93b6..0000000 --- a/IPython/core/shadowns.py +++ /dev/null @@ -1 +0,0 @@ -""" Shadow namespace """ \ No newline at end of file diff --git a/IPython/core/tests/test_imports.py b/IPython/core/tests/test_imports.py index 88caef0..7aa278f 100644 --- a/IPython/core/tests/test_imports.py +++ b/IPython/core/tests/test_imports.py @@ -45,9 +45,6 @@ def test_import_prompts(): def test_import_release(): from IPython.core import release -def test_import_shadowns(): - from IPython.core import shadowns - def test_import_ultratb(): from IPython.core import ultratb