From: Steve Dower Date: Fri, 9 Sep 2016 18:47:02 +0000 (-0700) Subject: Closes #22731: Documents change of console mode. X-Git-Tag: v3.6.0b1~193 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8b26702fa3276b570c05e7ccc608bbf68336bf80;p=thirdparty%2FPython%2Fcpython.git Closes #22731: Documents change of console mode. --- 8b26702fa3276b570c05e7ccc608bbf68336bf80 diff --cc Doc/c-api/init.rst index d77836a34a1f,e78ddae70854..c272a1cdaf30 --- a/Doc/c-api/init.rst +++ b/Doc/c-api/init.rst @@@ -34,9 -34,13 +34,13 @@@ Initializing and finalizing the interpr modules :mod:`builtins`, :mod:`__main__` and :mod:`sys`. It also initializes the module search path (``sys.path``). It does not set ``sys.argv``; use :c:func:`PySys_SetArgvEx` for that. This is a no-op when called for a second time - (without calling :c:func:`Py_Finalize` first). There is no return value; it is a + (without calling :c:func:`Py_FinalizeEx` 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)