https://github.com/python/cpython/commit/612e469624c64ade080b1fc79085e1e30e9eb394
commit: 612e469624c64ade080b1fc79085e1e30e9eb394
branch: 3.13
author: Miss Islington (bot) <[email protected]>
committer: Yhg1s <[email protected]>
date: 2024-09-29T18:24:55-07:00
summary:

[3.13] gh-123892: Add "_wmi" to sys.stdlib_module_names (GH-123893) (#123896)

gh-123892: Add "_wmi" to sys.stdlib_module_names (GH-123893)
(cherry picked from commit fb1b51a58df4315f7ef3171a5abeb74f132b0971)

Co-authored-by: Victor Stinner <[email protected]>

files:
A Misc/NEWS.d/next/Library/2024-09-10-11-26-14.gh-issue-123892.2gzIrz.rst
M Python/stdlib_module_names.h
M 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
index 00000000000000..bef534427d9a67
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2024-09-10-11-26-14.gh-issue-123892.2gzIrz.rst
@@ -0,0 +1 @@
+Add ``"_wmi"`` to :data:`sys.stdlib_module_names`. Patch by Victor Stinner.
diff --git a/Python/stdlib_module_names.h b/Python/stdlib_module_names.h
index 9686d10563aa4d..faeed0b7125808 100644
--- a/Python/stdlib_module_names.h
+++ b/Python/stdlib_module_names.h
@@ -97,6 +97,7 @@ static const char* _Py_stdlib_module_names[] = {
 "_weakref",
 "_weakrefset",
 "_winapi",
+"_wmi",
 "_zoneinfo",
 "abc",
 "antigravity",
diff --git a/Tools/build/check_extension_modules.py 
b/Tools/build/check_extension_modules.py
index a9fee4981ea915..7de35b499da7af 100644
--- a/Tools/build/check_extension_modules.py
+++ b/Tools/build/check_extension_modules.py
@@ -53,6 +53,7 @@
     "_overlapped",
     "_testconsole",
     "_winapi",
+    "_wmi",
     "msvcrt",
     "nt",
     "winreg",

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]

Reply via email to