Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
zooba merged 20 commits intopython:mainfromzooba:gh-89545
Sep 7, 2022
Merged
Changes from1 commit
Commits
Show all changes
20 commits
Select commitHold shift + click to select a range
6b22600
gh-89545: Adds internal _wmi module on Windows for directly querying …
zoobaAug 25, 2022
3bd7f9d
Merge remote-tracking branch 'cpython/main' into gh-89545
zoobaAug 30, 2022
ba6ad69
Regenerate global objects
zoobaAug 30, 2022
39a8555
Improve error handling and block non-SELECT queries
zoobaAug 30, 2022
7db086b
Improved error handling and audit tests
zoobaAug 30, 2022
da37548
Update platform module to use _wmi
zoobaAug 30, 2022
1264330
Update NEWS
zoobaAug 30, 2022
6179c2f
Merge remote-tracking branch 'cpython/main' into gh-89545
zoobaAug 30, 2022
8a8e950
Only use version when it's not empty
zoobaAug 30, 2022
a77841f
Apply suggestions from code review
zoobaAug 31, 2022
9002d8e
Additional PR feedback
zoobaAug 31, 2022
aef3a4d
Update sys.getwindowsversion to use better calculation
zoobaAug 31, 2022
295a0ac
Merge remote-tracking branch 'cpython/main' into gh-89545
zoobaAug 31, 2022
6b32d88
Add extra null separator between instances
zoobaAug 31, 2022
04330f8
Update PC/_wmimodule.cpp
zoobaSep 1, 2022
c3f9e9c
Add missing error handling
zoobaSep 1, 2022
98e3080
Merge remote-tracking branch 'cpython/main' into gh-89545
zoobaSep 2, 2022
70b2518
Remove WMI usage from sys.getwindowsversion
zoobaSep 5, 2022
653f152
Merge branch 'main' into gh-89545
zoobaSep 5, 2022
9d77094
Apply suggestions from code review
zoobaSep 6, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
PrevPrevious commit
NextNext commit
Add missing error handling
  • Loading branch information
@zooba
zooba committedSep 1, 2022
commitc3f9e9c856e72440a0a834aecad2d80cbcc08720
4 changes: 4 additions & 0 deletionsPC/_wmimodule.cpp
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -114,6 +114,10 @@ _query_thread(LPVOID param)
// Okay, now we have each resulting object it's time to
// enumerate its members
hr = value->BeginEnumeration(0);
if (FAILED(hr)) {
value->Release();
break;
}
while (SUCCEEDED(hr)) {
BSTR propName;
VARIANT propValue;
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp