diff --git a/IPython/terminal/interactiveshell.py b/IPython/terminal/interactiveshell.py index 9b0ee2b..5a0aac8 100644 --- a/IPython/terminal/interactiveshell.py +++ b/IPython/terminal/interactiveshell.py @@ -424,6 +424,14 @@ class TerminalInteractiveShell(InteractiveShell): **self._extra_prompt_options()) return text + def enable_win_unicode_console(self): + # Since IPython 7.10 doesn't support python < 3.6 and PEP 528, Python uses the unicode APIs for the Windows + # console by default, so WUC shouldn't be needed. + from warnings import warn + warn("`enable_win_unicode_console` is deprecated since IPython 7.10, does not do anything and will be removed in the future", + DeprecationWarning, + stacklevel=2) + def init_io(self): if sys.platform not in {'win32', 'cli'}: return