]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-123892: Add "_wmi" to sys.stdlib_module_names (#123893)
authorVictor Stinner <vstinner@python.org>
Tue, 10 Sep 2024 09:54:17 +0000 (11:54 +0200)
committerGitHub <noreply@github.com>
Tue, 10 Sep 2024 09:54:17 +0000 (09:54 +0000)
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 4d595d98445a058bb134406ed838312019a8a60d..c8cdb933bb108ff3b4d23afb3819201968de1ca8 100644 (file)
@@ -97,6 +97,7 @@ static const char* _Py_stdlib_module_names[] = {
 "_weakref",
 "_weakrefset",
 "_winapi",
+"_wmi",
 "_zoneinfo",
 "abc",
 "annotationlib",
index cef97a4799ec4b00e5dadc4d12a6654f12bc2e2c..66b2a262e11c57ed20b3b0e71bbe43f4b31fd9a6 100644 (file)
@@ -54,6 +54,7 @@ WINDOWS_MODULES = {
     "_overlapped",
     "_testconsole",
     "_winapi",
+    "_wmi",
     "msvcrt",
     "nt",
     "winreg",