◐ Shell
clean mode source ↗

gh-105373: Remove C API global config vars in Python 3.14 by vstinner · Pull Request #106538 · python/cpython

Expand Up @@ -87,7 +87,7 @@ to 1 and ``-bb`` sets :c:data:`Py_BytesWarningFlag` to 2.
Set by the :option:`-b` option.
.. deprecated:: 3.12 .. deprecated-removed:: 3.12 3.14
.. c:var:: int Py_DebugFlag
Expand All @@ -101,7 +101,7 @@ to 1 and ``-bb`` sets :c:data:`Py_BytesWarningFlag` to 2. Set by the :option:`-d` option and the :envvar:`PYTHONDEBUG` environment variable.
.. deprecated:: 3.12 .. deprecated-removed:: 3.12 3.14
.. c:var:: int Py_DontWriteBytecodeFlag
Expand All @@ -115,7 +115,7 @@ to 1 and ``-bb`` sets :c:data:`Py_BytesWarningFlag` to 2. Set by the :option:`-B` option and the :envvar:`PYTHONDONTWRITEBYTECODE` environment variable.
.. deprecated:: 3.12 .. deprecated-removed:: 3.12 3.14
.. c:var:: int Py_FrozenFlag
Expand All @@ -128,7 +128,7 @@ to 1 and ``-bb`` sets :c:data:`Py_BytesWarningFlag` to 2.
Private flag used by ``_freeze_module`` and ``frozenmain`` programs.
.. deprecated:: 3.12 .. deprecated-removed:: 3.12 3.14
.. c:var:: int Py_HashRandomizationFlag
Expand All @@ -143,7 +143,7 @@ to 1 and ``-bb`` sets :c:data:`Py_BytesWarningFlag` to 2. If the flag is non-zero, read the :envvar:`PYTHONHASHSEED` environment variable to initialize the secret hash seed.
.. deprecated:: 3.12 .. deprecated-removed:: 3.12 3.14
.. c:var:: int Py_IgnoreEnvironmentFlag
Expand All @@ -156,7 +156,7 @@ to 1 and ``-bb`` sets :c:data:`Py_BytesWarningFlag` to 2.
Set by the :option:`-E` and :option:`-I` options.
.. deprecated:: 3.12 .. deprecated-removed:: 3.12 3.14
.. c:var:: int Py_InspectFlag
Expand All @@ -171,7 +171,7 @@ to 1 and ``-bb`` sets :c:data:`Py_BytesWarningFlag` to 2. Set by the :option:`-i` option and the :envvar:`PYTHONINSPECT` environment variable.
.. deprecated:: 3.12 .. deprecated-removed:: 3.12 3.14
.. c:var:: int Py_InteractiveFlag
Expand All @@ -196,7 +196,7 @@ to 1 and ``-bb`` sets :c:data:`Py_BytesWarningFlag` to 2.
.. versionadded:: 3.4
.. deprecated:: 3.12 .. deprecated-removed:: 3.12 3.14
.. c:var:: int Py_LegacyWindowsFSEncodingFlag
Expand All @@ -215,7 +215,7 @@ to 1 and ``-bb`` sets :c:data:`Py_BytesWarningFlag` to 2.
.. availability:: Windows.
.. deprecated:: 3.12 .. deprecated-removed:: 3.12 3.14
.. c:var:: int Py_LegacyWindowsStdioFlag
Expand All @@ -233,7 +233,7 @@ to 1 and ``-bb`` sets :c:data:`Py_BytesWarningFlag` to 2.
.. availability:: Windows.
.. deprecated:: 3.12 .. deprecated-removed:: 3.12 3.14
.. c:var:: int Py_NoSiteFlag
Expand All @@ -248,7 +248,7 @@ to 1 and ``-bb`` sets :c:data:`Py_BytesWarningFlag` to 2.
Set by the :option:`-S` option.
.. deprecated:: 3.12 .. deprecated-removed:: 3.12 3.14
.. c:var:: int Py_NoUserSiteDirectory
Expand All @@ -262,7 +262,7 @@ to 1 and ``-bb`` sets :c:data:`Py_BytesWarningFlag` to 2. Set by the :option:`-s` and :option:`-I` options, and the :envvar:`PYTHONNOUSERSITE` environment variable.
.. deprecated:: 3.12 .. deprecated-removed:: 3.12 3.14
.. c:var:: int Py_OptimizeFlag
Expand All @@ -273,7 +273,7 @@ to 1 and ``-bb`` sets :c:data:`Py_BytesWarningFlag` to 2. Set by the :option:`-O` option and the :envvar:`PYTHONOPTIMIZE` environment variable.
.. deprecated:: 3.12 .. deprecated-removed:: 3.12 3.14
.. c:var:: int Py_QuietFlag
Expand All @@ -287,7 +287,7 @@ to 1 and ``-bb`` sets :c:data:`Py_BytesWarningFlag` to 2.
.. versionadded:: 3.2
.. deprecated:: 3.12 .. deprecated-removed:: 3.12 3.14
.. c:var:: int Py_UnbufferedStdioFlag
Expand All @@ -300,7 +300,7 @@ to 1 and ``-bb`` sets :c:data:`Py_BytesWarningFlag` to 2. Set by the :option:`-u` option and the :envvar:`PYTHONUNBUFFERED` environment variable.
.. deprecated:: 3.12 .. deprecated-removed:: 3.12 3.14
.. c:var:: int Py_VerboseFlag
Expand All @@ -316,7 +316,7 @@ to 1 and ``-bb`` sets :c:data:`Py_BytesWarningFlag` to 2. Set by the :option:`-v` option and the :envvar:`PYTHONVERBOSE` environment variable.
.. deprecated:: 3.12 .. deprecated-removed:: 3.12 3.14

Initializing and finalizing the interpreter Expand Down