]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Closes #22731: Documents change of console mode.
authorSteve Dower <steve.dower@microsoft.com>
Fri, 9 Sep 2016 18:46:37 +0000 (11:46 -0700)
committerSteve Dower <steve.dower@microsoft.com>
Fri, 9 Sep 2016 18:46:37 +0000 (11:46 -0700)
Doc/c-api/init.rst

index 639819ce29a1e58cc3d02b7f02ab8ef191adcacf..e78ddae70854b409a69e070dc9179fa0e3912c88 100644 (file)
@@ -37,6 +37,10 @@ Initializing and finalizing the interpreter
    (without calling :c:func:`Py_Finalize` first).  There is no return value; it is a
    fatal error if the initialization fails.
 
+   .. note::
+      On Windows, changes the console mode from ``O_TEXT`` to ``O_BINARY``, which will
+      also affect non-Python uses of the console using the C Runtime.
+
 
 .. c:function:: void Py_InitializeEx(int initsigs)