Show More
@@ -340,6 +340,11 b' class TerminalInteractiveShell(InteractiveShell):' | |||
|
340 | 340 | return document.text |
|
341 | 341 | |
|
342 | 342 | def enable_win_unicode_console(self): |
|
343 | if sys.version_info >= (3, 6): | |
|
344 | # Since PEP 528, Python uses the unicode APIs for the Windows | |
|
345 | # console by default, so WUC shouldn't be needed. | |
|
346 | return | |
|
347 | ||
|
343 | 348 | import win_unicode_console |
|
344 | 349 | |
|
345 | 350 | if PY3: |
@@ -218,7 +218,8 b' extras_require.update({' | |||
|
218 | 218 | ':python_version == "2.7" or python_version == "3.3"': ['pathlib2'], |
|
219 | 219 | ':sys_platform != "win32"': ['pexpect'], |
|
220 | 220 | ':sys_platform == "darwin"': ['appnope'], |
|
221 |
':sys_platform == "win32"': ['colorama' |
|
|
221 | ':sys_platform == "win32"': ['colorama'], | |
|
222 | ':sys_platform == "win32" and python_version < "3.6"': ['win_unicode_console>=0.5'], | |
|
222 | 223 | 'test:python_version == "2.7"': ['mock'], |
|
223 | 224 | }) |
|
224 | 225 | # FIXME: re-specify above platform dependencies for pip < 6 |
General Comments 0
You need to be logged in to leave comments.
Login now