-
-
Notifications
You must be signed in to change notification settings - Fork 32k
_wmi missing in sys.stdlib_module_names #123892
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Labels
type-bug
An unexpected behavior, bug, or error
Comments
vstinner
added a commit
to vstinner/cpython
that referenced
this issue
Sep 10, 2024
vstinner
added a commit
to vstinner/cpython
that referenced
this issue
Sep 10, 2024
Correct. I wrote PR gh-123893 to add it. Thanks! |
That was fast! Thanks! |
vstinner
added a commit
that referenced
this issue
Sep 10, 2024
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Sep 10, 2024
(cherry picked from commit fb1b51a) Co-authored-by: Victor Stinner <[email protected]>
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Sep 10, 2024
(cherry picked from commit fb1b51a) Co-authored-by: Victor Stinner <[email protected]>
This was referenced Sep 10, 2024
Fixed by fb1b51a. Backports will follow. Sadly, the list of Windows extensions is maintained manually, and we forgot the _wmi extension. It's now fixed. |
Thanks for the bug report @mtnpke. |
vstinner
added a commit
that referenced
this issue
Sep 10, 2024
diegorusso
pushed a commit
to diegorusso/cpython
that referenced
this issue
Sep 10, 2024
Yhg1s
pushed a commit
that referenced
this issue
Sep 30, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Bug report
Bug description:
Given that
import _wmi
succeeds on a minimal Python distribution (embeddable amd64 downloaded from https://www.python.org/downloads/release/python-3130rc2/ for example), should_wmi
not be included insys.stdlib_module_names
?(My use case is that I am generating license exports automatically and any packages that are not resolvable to a distribution and not included in
stdlib_module_names
lead to an error or need special-casing.)CPython versions tested on:
3.13
Operating systems tested on:
Windows
Linked PRs
The text was updated successfully, but these errors were encountered: