Repository navigation
gh-89545: Adds internal _wmi module on Windows for directly querying OS properties #96289
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
Merged
Merged
Changes from 1 commit
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
6b22600
gh-89545: Adds internal _wmi module on Windows for directly querying …
zooba 3bd7f9d
Merge remote-tracking branch 'cpython/main' into gh-89545
zooba ba6ad69
Regenerate global objects
zooba 39a8555
Improve error handling and block non-SELECT queries
zooba 7db086b
Improved error handling and audit tests
zooba da37548
Update platform module to use _wmi
zooba 1264330
Update NEWS
zooba 6179c2f
Merge remote-tracking branch 'cpython/main' into gh-89545
zooba 8a8e950
Only use version when it's not empty
zooba a77841f
Apply suggestions from code review
zooba 9002d8e
Additional PR feedback
zooba aef3a4d
Update sys.getwindowsversion to use better calculation
zooba 295a0ac
Merge remote-tracking branch 'cpython/main' into gh-89545
zooba 6b32d88
Add extra null separator between instances
zooba 04330f8
Update PC/_wmimodule.cpp
zooba c3f9e9c
Add missing error handling
zooba 98e3080
Merge remote-tracking branch 'cpython/main' into gh-89545
zooba 70b2518
Remove WMI usage from sys.getwindowsversion
zooba 653f152
Merge branch 'main' into gh-89545
zooba 9d77094
Apply suggestions from code review
zooba File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Update NEWS
- Loading branch information
commit 1264330e3ed1d381abf5cf9392c7e49b43b4a8c5
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
Misc/NEWS.d/next/Windows/2022-08-26-00-11-18.gh-issue-89545.zmJMY_.rst
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1 @@ | ||
| Adds internal ``_wmi`` module for directly querying OS properties | ||
| Updates :mod:`platform` to use native WMI queries to determine OS version, type, and architecture. | ||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.