https://github.com/python/cpython/commit/fb1b51a58df4315f7ef3171a5abeb74f132b0971
commit: fb1b51a58df4315f7ef3171a5abeb74f132b0971
branch: main
author: Victor Stinner <[email protected]>
committer: vstinner <[email protected]>
date: 2024-09-10T09:54:17Z
summary:

gh-123892: Add "_wmi" to sys.stdlib_module_names (#123893)

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 4d595d98445a05..c8cdb933bb108f 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",
 "annotationlib",
diff --git a/Tools/build/check_extension_modules.py 
b/Tools/build/check_extension_modules.py
index cef97a4799ec4b..66b2a262e11c57 100644
--- a/Tools/build/check_extension_modules.py
+++ b/Tools/build/check_extension_modules.py
@@ -54,6 +54,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