Skip to content

Commit 027be87

Browse files
Oops missed that, remove 'em from the 3.15 file
1 parent d5ab345 commit 027be87

1 file changed

Lines changed: 0 additions & 85 deletions

File tree

Doc/deprecations/c-api-pending-removal-in-3.15.rst

Lines changed: 0 additions & 85 deletions
Original file line numberDiff line numberDiff line change
@@ -46,88 +46,3 @@ Pending removal in Python 3.15
4646
The `pythoncapi-compat project
4747
<https://github.com/python/pythoncapi-compat/>`__ can be used to get
4848
:c:func:`PyConfig_Get` on Python 3.13 and older.
49-
50-
* Functions to configure Python's initialization, deprecated in Python 3.11:
51-
52-
* :c:func:`!PySys_SetArgvEx()`:
53-
Set :c:member:`PyConfig.argv` instead.
54-
* :c:func:`!PySys_SetArgv()`:
55-
Set :c:member:`PyConfig.argv` instead.
56-
* :c:func:`!Py_SetProgramName()`:
57-
Set :c:member:`PyConfig.program_name` instead.
58-
* :c:func:`!Py_SetPythonHome()`:
59-
Set :c:member:`PyConfig.home` instead.
60-
* :c:func:`!PySys_ResetWarnOptions`:
61-
Clear :data:`sys.warnoptions` and :data:`!warnings.filters` instead.
62-
63-
The :c:func:`Py_InitializeFromConfig` API should be used with
64-
:c:type:`PyConfig` instead.
65-
66-
* Global configuration variables:
67-
68-
* :c:var:`Py_DebugFlag`:
69-
Use :c:member:`PyConfig.parser_debug` or
70-
:c:func:`PyConfig_Get("parser_debug") <PyConfig_Get>` instead.
71-
* :c:var:`Py_VerboseFlag`:
72-
Use :c:member:`PyConfig.verbose` or
73-
:c:func:`PyConfig_Get("verbose") <PyConfig_Get>` instead.
74-
* :c:var:`Py_QuietFlag`:
75-
Use :c:member:`PyConfig.quiet` or
76-
:c:func:`PyConfig_Get("quiet") <PyConfig_Get>` instead.
77-
* :c:var:`Py_InteractiveFlag`:
78-
Use :c:member:`PyConfig.interactive` or
79-
:c:func:`PyConfig_Get("interactive") <PyConfig_Get>` instead.
80-
* :c:var:`Py_InspectFlag`:
81-
Use :c:member:`PyConfig.inspect` or
82-
:c:func:`PyConfig_Get("inspect") <PyConfig_Get>` instead.
83-
* :c:var:`Py_OptimizeFlag`:
84-
Use :c:member:`PyConfig.optimization_level` or
85-
:c:func:`PyConfig_Get("optimization_level") <PyConfig_Get>` instead.
86-
* :c:var:`Py_NoSiteFlag`:
87-
Use :c:member:`PyConfig.site_import` or
88-
:c:func:`PyConfig_Get("site_import") <PyConfig_Get>` instead.
89-
* :c:var:`Py_BytesWarningFlag`:
90-
Use :c:member:`PyConfig.bytes_warning` or
91-
:c:func:`PyConfig_Get("bytes_warning") <PyConfig_Get>` instead.
92-
* :c:var:`Py_FrozenFlag`:
93-
Use :c:member:`PyConfig.pathconfig_warnings` or
94-
:c:func:`PyConfig_Get("pathconfig_warnings") <PyConfig_Get>` instead.
95-
* :c:var:`Py_IgnoreEnvironmentFlag`:
96-
Use :c:member:`PyConfig.use_environment` or
97-
:c:func:`PyConfig_Get("use_environment") <PyConfig_Get>` instead.
98-
* :c:var:`Py_DontWriteBytecodeFlag`:
99-
Use :c:member:`PyConfig.write_bytecode` or
100-
:c:func:`PyConfig_Get("write_bytecode") <PyConfig_Get>` instead.
101-
* :c:var:`Py_NoUserSiteDirectory`:
102-
Use :c:member:`PyConfig.user_site_directory` or
103-
:c:func:`PyConfig_Get("user_site_directory") <PyConfig_Get>` instead.
104-
* :c:var:`Py_UnbufferedStdioFlag`:
105-
Use :c:member:`PyConfig.buffered_stdio` or
106-
:c:func:`PyConfig_Get("buffered_stdio") <PyConfig_Get>` instead.
107-
* :c:var:`Py_HashRandomizationFlag`:
108-
Use :c:member:`PyConfig.use_hash_seed`
109-
and :c:member:`PyConfig.hash_seed` or
110-
:c:func:`PyConfig_Get("hash_seed") <PyConfig_Get>` instead.
111-
* :c:var:`Py_IsolatedFlag`:
112-
Use :c:member:`PyConfig.isolated` or
113-
:c:func:`PyConfig_Get("isolated") <PyConfig_Get>` instead.
114-
* :c:var:`Py_LegacyWindowsFSEncodingFlag`:
115-
Use :c:member:`PyPreConfig.legacy_windows_fs_encoding` or
116-
:c:func:`PyConfig_Get("legacy_windows_fs_encoding") <PyConfig_Get>` instead.
117-
* :c:var:`Py_LegacyWindowsStdioFlag`:
118-
Use :c:member:`PyConfig.legacy_windows_stdio` or
119-
:c:func:`PyConfig_Get("legacy_windows_stdio") <PyConfig_Get>` instead.
120-
* :c:var:`!Py_FileSystemDefaultEncoding`, :c:var:`!Py_HasFileSystemDefaultEncoding`:
121-
Use :c:member:`PyConfig.filesystem_encoding` or
122-
:c:func:`PyConfig_Get("filesystem_encoding") <PyConfig_Get>` instead.
123-
* :c:var:`!Py_FileSystemDefaultEncodeErrors`:
124-
Use :c:member:`PyConfig.filesystem_errors` or
125-
:c:func:`PyConfig_Get("filesystem_errors") <PyConfig_Get>` instead.
126-
* :c:var:`!Py_UTF8Mode`:
127-
Use :c:member:`PyPreConfig.utf8_mode` or
128-
:c:func:`PyConfig_Get("utf8_mode") <PyConfig_Get>` instead.
129-
(see :c:func:`Py_PreInitialize`)
130-
131-
The :c:func:`Py_InitializeFromConfig` API should be used with
132-
:c:type:`PyConfig` to set these options. Or :c:func:`PyConfig_Get` can be
133-
used to get these options at runtime.

0 commit comments

Comments
 (0)