]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.13] gh-123892: Add "_wmi" to sys.stdlib_module_names (GH-123893) (#123896)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 30 Sep 2024 01:24:55 +0000 (03:24 +0200)
committerGitHub <noreply@github.com>
Mon, 30 Sep 2024 01:24:55 +0000 (18:24 -0700)
gh-123892: Add "_wmi" to sys.stdlib_module_names (GH-123893)
(cherry picked from commit fb1b51a58df4315f7ef3171a5abeb74f132b0971)

Co-authored-by: Victor Stinner <vstinner@python.org>
Misc/NEWS.d/next/Library/2024-09-10-11-26-14.gh-issue-123892.2gzIrz.rst [new file with mode: 0644]
Python/stdlib_module_names.h
Tools/build/check_extension_modules.py

diff --git a/Misc/NEWS.d/next/Library/2024-09-10-11-26-14.gh-issue-123892.2gzIrz.rst b/Misc/NEWS.d/next/Library/2024-09-10-11-26-14.gh-issue-123892.2gzIrz.rst
new file mode 100644 (file)
index 0000000..bef5344
--- /dev/null
@@ -0,0 +1 @@
+Add ``"_wmi"`` to :data:`sys.stdlib_module_names`. Patch by Victor Stinner.
index 9686d10563aa4d9eef878d11a76365e777cb4e82..faeed0b71258080a35c5971f63fcd45718c7164f 100644 (file)
@@ -97,6 +97,7 @@ static const char* _Py_stdlib_module_names[] = {
 "_weakref",
 "_weakrefset",
 "_winapi",
+"_wmi",
 "_zoneinfo",
 "abc",
 "antigravity",
index a9fee4981ea9154aa2a0cca5713260b35142ee58..7de35b499da7afa1b8e6aa6d87ae28c25b38a52b 100644 (file)
@@ -53,6 +53,7 @@ WINDOWS_MODULES = {
     "_overlapped",
     "_testconsole",
     "_winapi",
+    "_wmi",
     "msvcrt",
     "nt",
     "winreg",