From 885908ed13376f1830c32b118b3d2098730bf15c Mon Sep 17 00:00:00 2001 From: vidhya <96202776+Vidhyavinu@users.noreply.github.com> Date: Mon, 21 Feb 2022 15:08:20 -0500 Subject: [PATCH] bpo-33601 Py_UTF8Mode is not documented Added UTF8Mode documentation to https://docs.python.org/dev/c-api/init.html#global-configuration-variables --- Doc/c-api/init.rst | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Doc/c-api/init.rst b/Doc/c-api/init.rst index 322b9e4d251e76..a972c27aac81e7 100644 --- a/Doc/c-api/init.rst +++ b/Doc/c-api/init.rst @@ -221,6 +221,13 @@ to 1 and ``-bb`` sets :c:data:`Py_BytesWarningFlag` to 2. Set by the :option:`-v` option and the :envvar:`PYTHONVERBOSE` environment variable. +.. c:var:: int Py_UTF8Mode + + Enables the UTF-8 Mode. + + If set to 1, enable the UTF-8 Mode. + If set to 0, disable the UTF-8 Mode. + If set to -1, look for the :option:`-x` option and the :envvar:`PYTHONUTF8` environment variable. Initializing and finalizing the interpreter =========================================== pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy