| 1 |
Pending Removal in Python 3.14 |
| 2 |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 3 |
|
| 4 |
* The ``ma_version_tag`` field in :c:type:`PyDictObject` for extension modules |
| 5 |
(:pep:`699`; :gh:`101193`). |
| 6 |
|
| 7 |
* Creating :c:data:`immutable types <Py_TPFLAGS_IMMUTABLETYPE>` with mutable |
| 8 |
bases (:gh:`95388`). |
| 9 |
|
| 10 |
* Functions to configure Python's initialization, deprecated in Python 3.11: |
| 11 |
|
| 12 |
* :c:func:`!PySys_SetArgvEx()`: |
| 13 |
Set :c:member:`PyConfig.argv` instead. |
| 14 |
* :c:func:`!PySys_SetArgv()`: |
| 15 |
Set :c:member:`PyConfig.argv` instead. |
| 16 |
* :c:func:`!Py_SetProgramName()`: |
| 17 |
Set :c:member:`PyConfig.program_name` instead. |
| 18 |
* :c:func:`!Py_SetPythonHome()`: |
| 19 |
Set :c:member:`PyConfig.home` instead. |
| 20 |
|
| 21 |
The :c:func:`Py_InitializeFromConfig` API should be used with |
| 22 |
:c:type:`PyConfig` instead. |
| 23 |
|
| 24 |
* Global configuration variables: |
| 25 |
|
| 26 |
* :c:var:`Py_DebugFlag`: |
| 27 |
Use :c:member:`PyConfig.parser_debug` instead. |
| 28 |
* :c:var:`Py_VerboseFlag`: |
| 29 |
Use :c:member:`PyConfig.verbose` instead. |
| 30 |
* :c:var:`Py_QuietFlag`: |
| 31 |
Use :c:member:`PyConfig.quiet` instead. |
| 32 |
* :c:var:`Py_InteractiveFlag`: |
| 33 |
Use :c:member:`PyConfig.interactive` instead. |
| 34 |
* :c:var:`Py_InspectFlag`: |
| 35 |
Use :c:member:`PyConfig.inspect` instead. |
| 36 |
* :c:var:`Py_OptimizeFlag`: |
| 37 |
Use :c:member:`PyConfig.optimization_level` instead. |
| 38 |
* :c:var:`Py_NoSiteFlag`: |
| 39 |
Use :c:member:`PyConfig.site_import` instead. |
| 40 |
* :c:var:`Py_BytesWarningFlag`: |
| 41 |
Use :c:member:`PyConfig.bytes_warning` instead. |
| 42 |
* :c:var:`Py_FrozenFlag`: |
| 43 |
Use :c:member:`PyConfig.pathconfig_warnings` instead. |
| 44 |
* :c:var:`Py_IgnoreEnvironmentFlag`: |
| 45 |
Use :c:member:`PyConfig.use_environment` instead. |
| 46 |
* :c:var:`Py_DontWriteBytecodeFlag`: |
| 47 |
Use :c:member:`PyConfig.write_bytecode` instead. |
| 48 |
* :c:var:`Py_NoUserSiteDirectory`: |
| 49 |
Use :c:member:`PyConfig.user_site_directory` instead. |
| 50 |
* :c:var:`Py_UnbufferedStdioFlag`: |
| 51 |
Use :c:member:`PyConfig.buffered_stdio` instead. |
| 52 |
* :c:var:`Py_HashRandomizationFlag`: |
| 53 |
Use :c:member:`PyConfig.use_hash_seed` |
| 54 |
and :c:member:`PyConfig.hash_seed` instead. |
| 55 |
* :c:var:`Py_IsolatedFlag`: |
| 56 |
Use :c:member:`PyConfig.isolated` instead. |
| 57 |
* :c:var:`Py_LegacyWindowsFSEncodingFlag`: |
| 58 |
Use :c:member:`PyPreConfig.legacy_windows_fs_encoding` instead. |
| 59 |
* :c:var:`Py_LegacyWindowsStdioFlag`: |
| 60 |
Use :c:member:`PyConfig.legacy_windows_stdio` instead. |
| 61 |
* :c:var:`!Py_FileSystemDefaultEncoding`: |
| 62 |
Use :c:member:`PyConfig.filesystem_encoding` instead. |
| 63 |
* :c:var:`!Py_HasFileSystemDefaultEncoding`: |
| 64 |
Use :c:member:`PyConfig.filesystem_encoding` instead. |
| 65 |
* :c:var:`!Py_FileSystemDefaultEncodeErrors`: |
| 66 |
Use :c:member:`PyConfig.filesystem_errors` instead. |
| 67 |
* :c:var:`!Py_UTF8Mode`: |
| 68 |
Use :c:member:`PyPreConfig.utf8_mode` instead. |
| 69 |
(see :c:func:`Py_PreInitialize`) |
| 70 |
|
| 71 |
The :c:func:`Py_InitializeFromConfig` API should be used with |
| 72 |
:c:type:`PyConfig` instead. |