##// END OF EJS Templates
Added deprecation warning for enable_win_unicode_console #11953
kousik -
Show More
@@ -424,6 +424,14 b' class TerminalInteractiveShell(InteractiveShell):'
424 **self._extra_prompt_options())
424 **self._extra_prompt_options())
425 return text
425 return text
426
426
427 def enable_win_unicode_console(self):
428 # Since IPython 7.10 doesn't support python < 3.6 and PEP 528, Python uses the unicode APIs for the Windows
429 # console by default, so WUC shouldn't be needed.
430 from warnings import warn
431 warn("`enable_win_unicode_console` is deprecated since IPython 7.10, does not do anything and will be removed in the future",
432 DeprecationWarning,
433 stacklevel=2)
434
427 def init_io(self):
435 def init_io(self):
428 if sys.platform not in {'win32', 'cli'}:
436 if sys.platform not in {'win32', 'cli'}:
429 return
437 return
General Comments 0
You need to be logged in to leave comments. Login now