##// END OF EJS Templates
Deprecate pending deprecation feature, and remove from __all__...
Matthias Bussonnier -
Show More
@@ -45,7 +45,7 b' from IPython.core.error import TryNext'
45 # List here all the default hooks. For now it's just the editor functions
45 # List here all the default hooks. For now it's just the editor functions
46 # but over time we'll move here all the public API for user-accessible things.
46 # but over time we'll move here all the public API for user-accessible things.
47
47
48 __all__ = ['editor', 'fix_error_editor', 'synchronize_with_editor',
48 __all__ = ['editor', 'synchronize_with_editor',
49 'shutdown_hook', 'late_startup_hook',
49 'shutdown_hook', 'late_startup_hook',
50 'show_in_pager','pre_prompt_hook',
50 'show_in_pager','pre_prompt_hook',
51 'pre_run_code_hook', 'clipboard_get']
51 'pre_run_code_hook', 'clipboard_get']
@@ -83,6 +83,9 b' def editor(self, filename, linenum=None, wait=True):'
83 raise TryNext()
83 raise TryNext()
84
84
85 import tempfile
85 import tempfile
86 from IPython.utils.decorators import undoc
87
88 @undoc
86 def fix_error_editor(self,filename,linenum,column,msg):
89 def fix_error_editor(self,filename,linenum,column,msg):
87 """DEPRECATED
90 """DEPRECATED
88
91
@@ -95,7 +98,7 b' def fix_error_editor(self,filename,linenum,column,msg):'
95 """
98 """
96
99
97 warnings.warn("""
100 warnings.warn("""
98 `fix_error_editor` is pending deprecation as of IPython 5.0 and will be removed
101 `fix_error_editor` is deprecated as of IPython 6.0 and will be removed
99 in future versions. It appears to be used only for automatically fixing syntax
102 in future versions. It appears to be used only for automatically fixing syntax
100 error that has been broken for a few years and has thus been removed. If you
103 error that has been broken for a few years and has thus been removed. If you
101 happend to use this function and still need it please make your voice heard on
104 happend to use this function and still need it please make your voice heard on
General Comments 0
You need to be logged in to leave comments. Login now