[Python-checkins] cpython (merge 3.5 -> default): Closes #22731: Documents change of console mode.

steve.dower python-checkins at python.org
Fri Sep 9 14:48:02 EDT 2016


https://hg.python.org/cpython/rev/e93a8088a1f9
changeset:   103432:e93a8088a1f9
parent:      103430:fbb4aa1fcc47
parent:      103431:b31e803d5ad3
user:        Steve Dower <steve.dower at microsoft.com>
date:        Fri Sep 09 11:47:02 2016 -0700
summary:
  Closes #22731: Documents change of console mode.

files:
  Doc/c-api/init.rst |  4 ++++
  1 files changed, 4 insertions(+), 0 deletions(-)


diff --git a/Doc/c-api/init.rst b/Doc/c-api/init.rst
--- a/Doc/c-api/init.rst
+++ b/Doc/c-api/init.rst
@@ -37,6 +37,10 @@
    (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)
 

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list