René's URL Explorer Experiment


Title: gh-89545: Adds internal _wmi module on Windows for directly querying OS properties by zooba · Pull Request #96289 · python/cpython · GitHub

Open Graph Title: gh-89545: Adds internal _wmi module on Windows for directly querying OS properties by zooba · Pull Request #96289 · python/cpython

X Title: gh-89545: Adds internal _wmi module on Windows for directly querying OS properties by zooba · Pull Request #96289 · python/cpython

Description: Issue: gh-89545

Open Graph Description: Issue: gh-89545

X Description: Issue: gh-89545

Opengraph URL: https://github.com/python/cpython/pull/96289

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:6e77105a-3585-2d9d-9310-0d7882f41ea8
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC788:2A0D62:2343AE8:301FA39:696ACF29
html-safe-nonce179840d3d9864cf347dd18ef3a2f3e92eaabfd11cc31d8cdc2cf921308951986
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNzg4OjJBMEQ2MjoyMzQzQUU4OjMwMUZBMzk6Njk2QUNGMjkiLCJ2aXNpdG9yX2lkIjoiNzY3MTY4MDA0NzY5Njc2MDYxNyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac3af638c302902300cee0a034dd650ed4f5ca0619d18baa3ef2f38a641204486d
hovercard-subject-tagpull_request:1037325758
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python/cpython/pull/96289/files
twitter:imagehttps://avatars.githubusercontent.com/u/1693688?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/1693688?s=400&v=4
og:image:altIssue: gh-89545
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonec785f4ce187e9e7331257791b36ddee01625bb8e292a9b4fe2c16d4c006abf5d
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/python/cpython git https://github.com/python/cpython.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id81598961
octolytics-dimension-repository_nwopython/cpython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id81598961
octolytics-dimension-repository_network_root_nwopython/cpython
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasec718a376fcf780eb22089171adb84a543f660bf7
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/96289/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F96289%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F96289%2Ffiles
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/96289/files
Reloadhttps://github.com/python/cpython/pull/96289/files
Reloadhttps://github.com/python/cpython/pull/96289/files
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/96289/files
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 33.9k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 71.1k https://github.com/login?return_to=%2Fpython%2Fcpython
Code https://github.com/python/cpython
Issues 5k+ https://github.com/python/cpython/issues
Pull requests 2.1k https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects 31 https://github.com/python/cpython/projects
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/python/cpython/security
Please reload this pagehttps://github.com/python/cpython/pull/96289/files
Insights https://github.com/python/cpython/pulse
Code https://github.com/python/cpython
Issues https://github.com/python/cpython/issues
Pull requests https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects https://github.com/python/cpython/projects
Security https://github.com/python/cpython/security
Insights https://github.com/python/cpython/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
zoobahttps://github.com/zooba
python:mainhttps://github.com/python/cpython/tree/main
zooba:gh-89545https://github.com/zooba/cpython/tree/gh-89545
Conversation 40 https://github.com/python/cpython/pull/96289
Commits 20 https://github.com/python/cpython/pull/96289/commits
Checks 0 https://github.com/python/cpython/pull/96289/checks
Files changed https://github.com/python/cpython/pull/96289/files
Please reload this pagehttps://github.com/python/cpython/pull/96289/files
gh-89545: Adds internal _wmi module on Windows for directly querying OS properties https://github.com/python/cpython/pull/96289/files#top
Show all changes 20 commits https://github.com/python/cpython/pull/96289/files
6b22600 gh-89545: Adds internal _wmi module on Windows for directly querying … zooba Aug 25, 2022 https://github.com/python/cpython/pull/96289/commits/6b226005298a7f7eb2a29089acba81e03addf2bd
3bd7f9d Merge remote-tracking branch 'cpython/main' into gh-89545 zooba Aug 30, 2022 https://github.com/python/cpython/pull/96289/commits/3bd7f9d6f77f7609215d05a68950f7116be92e6d
ba6ad69 Regenerate global objects zooba Aug 30, 2022 https://github.com/python/cpython/pull/96289/commits/ba6ad6917949d55dea93d79462ace0582b7198ea
39a8555 Improve error handling and block non-SELECT queries zooba Aug 30, 2022 https://github.com/python/cpython/pull/96289/commits/39a85552d8973f8cf6cfea44cee356ade23b781b
7db086b Improved error handling and audit tests zooba Aug 30, 2022 https://github.com/python/cpython/pull/96289/commits/7db086b9fcf3d579fcf4deadbe8408e51139f982
da37548 Update platform module to use _wmi zooba Aug 30, 2022 https://github.com/python/cpython/pull/96289/commits/da37548d250f6be028ac26b8d42ad91a51c67881
1264330 Update NEWS zooba Aug 30, 2022 https://github.com/python/cpython/pull/96289/commits/1264330e3ed1d381abf5cf9392c7e49b43b4a8c5
6179c2f Merge remote-tracking branch 'cpython/main' into gh-89545 zooba Aug 30, 2022 https://github.com/python/cpython/pull/96289/commits/6179c2fe2ae421bf61d31aef50e84d8df69d937d
8a8e950 Only use version when it's not empty zooba Aug 30, 2022 https://github.com/python/cpython/pull/96289/commits/8a8e950f7487d96281dd1852961f6e47f79b9add
a77841f Apply suggestions from code review zooba Aug 31, 2022 https://github.com/python/cpython/pull/96289/commits/a77841fa055131f40e8b9ffb06cfa771de102fe8
9002d8e Additional PR feedback zooba Aug 31, 2022 https://github.com/python/cpython/pull/96289/commits/9002d8ef8a7c24be18c036beb147c942708b204e
aef3a4d Update sys.getwindowsversion to use better calculation zooba Aug 31, 2022 https://github.com/python/cpython/pull/96289/commits/aef3a4d78710bade3bf080fce905d6e2dd38ff39
295a0ac Merge remote-tracking branch 'cpython/main' into gh-89545 zooba Aug 31, 2022 https://github.com/python/cpython/pull/96289/commits/295a0ac8008746326202be22b0960a602b84b8ff
6b32d88 Add extra null separator between instances zooba Aug 31, 2022 https://github.com/python/cpython/pull/96289/commits/6b32d88c772744bd63f95c3aca0494aa5cbf3a33
04330f8 Update PC/_wmimodule.cpp zooba Sep 1, 2022 https://github.com/python/cpython/pull/96289/commits/04330f825a3759c900b26e3086678f870ac01535
c3f9e9c Add missing error handling zooba Sep 1, 2022 https://github.com/python/cpython/pull/96289/commits/c3f9e9c856e72440a0a834aecad2d80cbcc08720
98e3080 Merge remote-tracking branch 'cpython/main' into gh-89545 zooba Sep 2, 2022 https://github.com/python/cpython/pull/96289/commits/98e30804ca4b6cfad2b5a6d9178a7facba8c06d9
70b2518 Remove WMI usage from sys.getwindowsversion zooba Sep 5, 2022 https://github.com/python/cpython/pull/96289/commits/70b251811d9900f2aea56cb8a4b62cb0f370d004
653f152 Merge branch 'main' into gh-89545 zooba Sep 5, 2022 https://github.com/python/cpython/pull/96289/commits/653f1521ed4c22d29ffd061280abdbacc2417569
9d77094 Apply suggestions from code review zooba Sep 6, 2022 https://github.com/python/cpython/pull/96289/commits/9d77094673406733301a6c457f0247dcdaaa21f0
Clear filters https://github.com/python/cpython/pull/96289/files
Please reload this pagehttps://github.com/python/cpython/pull/96289/files
Please reload this pagehttps://github.com/python/cpython/pull/96289/files
pycore_global_strings.h https://github.com/python/cpython/pull/96289/files#diff-7656e411eccd63ff8aab3e11de3f45035665f6b639206d3f440727dfb5e0ebcf
pycore_runtime_init_generated.h https://github.com/python/cpython/pull/96289/files#diff-69a1fc720f0b1e9005cf7717dd81c823399da81dd2f6480664b51238c1ef93f0
ntpath.py https://github.com/python/cpython/pull/96289/files#diff-892add06b0598c5d7b07448e0ac87f5aa6b97fd0a79d77bcbc69092b70d1d065
platform.py https://github.com/python/cpython/pull/96289/files#diff-cb1ba6039236dca71c97ea898f2798c60262c30614192862259889f839e4d503
audit-tests.py https://github.com/python/cpython/pull/96289/files#diff-1cab14f7e86d7fddf1d9a2cb12c3f5ef50844cf932eb67a97f7fb6acff8330c2
test_audit.py https://github.com/python/cpython/pull/96289/files#diff-9e6a1e498511d9e674d9697d12f4b152dd3539cf13ec953b857ed118a5c57353
test_platform.py https://github.com/python/cpython/pull/96289/files#diff-894592671e2b62da7a88ead41c76b0fa35dbec0e17b8779ea0d11aea2657cb39
test_wmi.py https://github.com/python/cpython/pull/96289/files#diff-96fd43931df0841335ee3bee52a698eb24cc17ad1a6da2c78b47648fdc8e88c0
2022-08-26-00-11-18.gh-issue-89545.zmJMY_.rst https://github.com/python/cpython/pull/96289/files#diff-684b25d6ff6c617bf097374dc1fc279cce43ed264be483c46f4e23cfc9a400ea
_wmimodule.cpp https://github.com/python/cpython/pull/96289/files#diff-17fcc3b874b351eb5ff47ac1d312062f2b12ce7ea61507b7a998b66fc720cb08
_wmimodule.cpp.h https://github.com/python/cpython/pull/96289/files#diff-01154702cc92332c7ba0a7fd5f12f79b9e03feb4b69d6b2819fe0fe10d608ec7
_wmi.vcxproj https://github.com/python/cpython/pull/96289/files#diff-6316c41e57b307b286298bcdb1e9dd804ce94e8bd119a2469fb38e2dcdc4b5df
_wmi.vcxproj.filters https://github.com/python/cpython/pull/96289/files#diff-609706ef9980ea603640958cd21429bfd9be325270ade657142d87db07dba814
pcbuild.proj https://github.com/python/cpython/pull/96289/files#diff-36143ac3d62d4f210bf836dcc3104c7474562bca5b02a18aa5d285b4a8373c6e
pcbuild.sln https://github.com/python/cpython/pull/96289/files#diff-0ea7ec57310c8f7a74b3bb79e5cd3ee907d47909fb68b7b46e5d257793bdd3bc
sysmodule.c https://github.com/python/cpython/pull/96289/files#diff-a3a5c73931235f7f344c072dc755d6508e13923db3f5d581c5e88652075871cb
lib_files.wxs https://github.com/python/cpython/pull/96289/files#diff-26115511cc004fd83fde0fa4e7fe691a99ccdd351aa7b7ec2a8079444e962cce
Include/internal/pycore_global_strings.hhttps://github.com/python/cpython/pull/96289/files#diff-7656e411eccd63ff8aab3e11de3f45035665f6b639206d3f440727dfb5e0ebcf
View file https://github.com/zooba/cpython/blob/9d77094673406733301a6c457f0247dcdaaa21f0/Include/internal/pycore_global_strings.h
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/96289/{{ revealButtonHref }}
https://github.com/python/cpython/pull/96289/files#diff-7656e411eccd63ff8aab3e11de3f45035665f6b639206d3f440727dfb5e0ebcf
https://github.com/python/cpython/pull/96289/files#diff-7656e411eccd63ff8aab3e11de3f45035665f6b639206d3f440727dfb5e0ebcf
Include/internal/pycore_runtime_init_generated.hhttps://github.com/python/cpython/pull/96289/files#diff-69a1fc720f0b1e9005cf7717dd81c823399da81dd2f6480664b51238c1ef93f0
View file https://github.com/zooba/cpython/blob/9d77094673406733301a6c457f0247dcdaaa21f0/Include/internal/pycore_runtime_init_generated.h
Open in desktop https://desktop.github.com
how customized files appear on GitHubhttps://docs.github.com/github/administering-a-repository/customizing-how-changed-files-appear-on-github
Please reload this pagehttps://github.com/python/cpython/pull/96289/files
Lib/ntpath.pyhttps://github.com/python/cpython/pull/96289/files#diff-892add06b0598c5d7b07448e0ac87f5aa6b97fd0a79d77bcbc69092b70d1d065
View file https://github.com/zooba/cpython/blob/9d77094673406733301a6c457f0247dcdaaa21f0/Lib/ntpath.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/96289/{{ revealButtonHref }}
https://github.com/python/cpython/pull/96289/files#diff-892add06b0598c5d7b07448e0ac87f5aa6b97fd0a79d77bcbc69092b70d1d065
https://github.com/python/cpython/pull/96289/files#diff-892add06b0598c5d7b07448e0ac87f5aa6b97fd0a79d77bcbc69092b70d1d065
Lib/platform.pyhttps://github.com/python/cpython/pull/96289/files#diff-cb1ba6039236dca71c97ea898f2798c60262c30614192862259889f839e4d503
View file https://github.com/zooba/cpython/blob/9d77094673406733301a6c457f0247dcdaaa21f0/Lib/platform.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/96289/{{ revealButtonHref }}
https://github.com/python/cpython/pull/96289/files#diff-cb1ba6039236dca71c97ea898f2798c60262c30614192862259889f839e4d503
https://github.com/python/cpython/pull/96289/files#diff-cb1ba6039236dca71c97ea898f2798c60262c30614192862259889f839e4d503
https://github.com/python/cpython/pull/96289/files#diff-cb1ba6039236dca71c97ea898f2798c60262c30614192862259889f839e4d503
https://github.com/python/cpython/pull/96289/files#diff-cb1ba6039236dca71c97ea898f2798c60262c30614192862259889f839e4d503
https://github.com/python/cpython/pull/96289/files#diff-cb1ba6039236dca71c97ea898f2798c60262c30614192862259889f839e4d503
https://github.com/python/cpython/pull/96289/files#diff-cb1ba6039236dca71c97ea898f2798c60262c30614192862259889f839e4d503
https://github.com/python/cpython/pull/96289/files#diff-cb1ba6039236dca71c97ea898f2798c60262c30614192862259889f839e4d503
https://github.com/python/cpython/pull/96289/files#diff-cb1ba6039236dca71c97ea898f2798c60262c30614192862259889f839e4d503
Lib/test/audit-tests.pyhttps://github.com/python/cpython/pull/96289/files#diff-1cab14f7e86d7fddf1d9a2cb12c3f5ef50844cf932eb67a97f7fb6acff8330c2
View file https://github.com/zooba/cpython/blob/9d77094673406733301a6c457f0247dcdaaa21f0/Lib/test/audit-tests.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/96289/{{ revealButtonHref }}
https://github.com/python/cpython/pull/96289/files#diff-1cab14f7e86d7fddf1d9a2cb12c3f5ef50844cf932eb67a97f7fb6acff8330c2
https://github.com/python/cpython/pull/96289/files#diff-1cab14f7e86d7fddf1d9a2cb12c3f5ef50844cf932eb67a97f7fb6acff8330c2
Lib/test/test_audit.pyhttps://github.com/python/cpython/pull/96289/files#diff-9e6a1e498511d9e674d9697d12f4b152dd3539cf13ec953b857ed118a5c57353
View file https://github.com/zooba/cpython/blob/9d77094673406733301a6c457f0247dcdaaa21f0/Lib/test/test_audit.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/96289/{{ revealButtonHref }}
https://github.com/python/cpython/pull/96289/files#diff-9e6a1e498511d9e674d9697d12f4b152dd3539cf13ec953b857ed118a5c57353
Lib/test/test_platform.pyhttps://github.com/python/cpython/pull/96289/files#diff-894592671e2b62da7a88ead41c76b0fa35dbec0e17b8779ea0d11aea2657cb39
View file https://github.com/zooba/cpython/blob/9d77094673406733301a6c457f0247dcdaaa21f0/Lib/test/test_platform.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/96289/{{ revealButtonHref }}
https://github.com/python/cpython/pull/96289/files#diff-894592671e2b62da7a88ead41c76b0fa35dbec0e17b8779ea0d11aea2657cb39
https://github.com/python/cpython/pull/96289/files#diff-894592671e2b62da7a88ead41c76b0fa35dbec0e17b8779ea0d11aea2657cb39
https://github.com/python/cpython/pull/96289/files#diff-894592671e2b62da7a88ead41c76b0fa35dbec0e17b8779ea0d11aea2657cb39
https://github.com/python/cpython/pull/96289/files#diff-894592671e2b62da7a88ead41c76b0fa35dbec0e17b8779ea0d11aea2657cb39
Please reload this pagehttps://github.com/python/cpython/pull/96289/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.