]> granicus.if.org Git - python/commitdiff
Closes #22731: Documents change of console mode.
authorSteve Dower <steve.dower@microsoft.com>
Fri, 9 Sep 2016 18:47:02 +0000 (11:47 -0700)
committerSteve Dower <steve.dower@microsoft.com>
Fri, 9 Sep 2016 18:47:02 +0000 (11:47 -0700)
1  2 
Doc/c-api/init.rst

index d77836a34a1f7a4c4cbf4cc0e59de734bb604598,e78ddae70854b409a69e070dc9179fa0e3912c88..c272a1cdaf30c27cd8ebe5d62e3364e46f1d00d4
@@@ -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)