]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.12] gh-123892: Add "_wmi" to sys.stdlib_module_names (GH-123893) (#123897)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 10 Sep 2024 10:11:56 +0000 (12:11 +0200)
committerGitHub <noreply@github.com>
Tue, 10 Sep 2024 10:11:56 +0000 (10:11 +0000)
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 ed4a0ac2dd32de292bc397f6f6f7d43e6c8cb812..1b1a1bdee784913f968bacf47c922c19451d51c1 100644 (file)
@@ -89,6 +89,7 @@ static const char* _Py_stdlib_module_names[] = {
 "_weakref",
 "_weakrefset",
 "_winapi",
+"_wmi",
 "_zoneinfo",
 "abc",
 "aifc",
index 59239c62e2ef347f7efaf4466f423db5c73fb193..aa1ade71a8e937338f7f4a104442e0573cafc79a 100644 (file)
@@ -54,6 +54,7 @@ WINDOWS_MODULES = {
     "_overlapped",
     "_testconsole",
     "_winapi",
+    "_wmi",
     "msvcrt",
     "nt",
     "winreg",