summaryrefslogtreecommitdiff
path: root/Include/pydebug.h
diff options
context:
space:
mode:
authorSteve Dower <steve.dower@microsoft.com>2016-08-30 21:22:36 -0700
committerSteve Dower <steve.dower@microsoft.com>2016-08-30 21:22:36 -0700
commit73392d64a0328bce848b448206b668f695640538 (patch)
treeeafe9f95df86d6d9e2749463ae244972536fed5d /Include/pydebug.h
parent2844f9700077d2b3cc08358ad51f5af9292df8ee (diff)
downloadcpython-73392d64a0328bce848b448206b668f695640538.tar.gz
Issue #1602: Windows console doesn't input or print Unicode (PEP 528)
Closes #17602: Adds a readline implementation for the Windows console
Diffstat (limited to 'Include/pydebug.h')
-rw-r--r--Include/pydebug.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Include/pydebug.h b/Include/pydebug.h
index 19bec2bd81..6e23a896c3 100644
--- a/Include/pydebug.h
+++ b/Include/pydebug.h
@@ -24,6 +24,10 @@ PyAPI_DATA(int) Py_UnbufferedStdioFlag;
PyAPI_DATA(int) Py_HashRandomizationFlag;
PyAPI_DATA(int) Py_IsolatedFlag;
+#ifdef MS_WINDOWS
+PyAPI_DATA(int) Py_LegacyWindowsStdioFlag;
+#endif
+
/* this is a wrapper around getenv() that pays attention to
Py_IgnoreEnvironmentFlag. It should be used for getting variables like
PYTHONPATH and PYTHONHOME from the environment */