René's URL Explorer Experiment


Title: Implement Python 3.15 Windows event-log APIs by youknowdot · Pull Request #9086 · RustPython/RustPython · GitHub

Open Graph Title: Implement Python 3.15 Windows event-log APIs by youknowdot · Pull Request #9086 · RustPython/RustPython

X Title: Implement Python 3.15 Windows event-log APIs by youknowdot · Pull Request #9086 · RustPython/RustPython

Description: Summary Extract the Python 3.15 Windows event-log API support from #8954 as one cohesive Rust-only prerequisite for #9079's final-source standard-library synchronization. Expose _winapi.RegisterEventSource, DeregisterEventSource and ReportEvent. Add checked host-environment wrappers and six EVENTLOG_* constants. Enable windows-sys's Win32_System_EventLog feature. Add a Windows-only snippet checking six constants and twenty pre-host conversion failures. The implementation follows CPython's final 3.15 source at d220409a13b77de7a6c30abe16ea90db01528edc. The Rust/Cargo implementation is the exact three-file extraction from 43065e7, rebased on main a107443. No Lib files or test expectations change. Validation Applicable pre-commit hooks and git diff --check: passed. cargo check --locked -p rustpython-host_env --target x86_64-pc-windows-gnu -j1: passed. cargo clippy --locked -p rustpython-host_env --target x86_64-pc-windows-gnu -j1 -- -D warnings: passed. cargo check --locked -p rustpython-vm --no-default-features --features host_env --target x86_64-pc-windows-gnu -j1: blocked in dependency psm by missing x86_64-w64-mingw32-gcc; the changed VM source was not reached. The Windows target cfg and host_env feature are enabled. New extra_tests/snippets/stdlib_winapi_eventlog.py is discovered by the existing Windows snippets job. All calls reject before host operations; overflow cases retain an independent NUL guard. Actual Windows assertions await hosted CI. Targeted Linux pytest: 2 passed (CPython and RustPython), validating collection and the non-Windows gate only. No event-log writes, registry edits or Windows runtime tests performed locally. Full workspace/C-API/runtime tests remain unrun; hosted Windows compile and conversion checks remain outstanding. AI assistance Codex assisted extraction from the existing mega PR, comparison with final CPython source, source review, compile-check preparation and this description. The maintainer directed this extraction. Windows runtime validation is not claimed.

Open Graph Description: Summary Extract the Python 3.15 Windows event-log API support from #8954 as one cohesive Rust-only prerequisite for #9079's final-source standard-library synchronization. Expose _winapi.Regist...

X Description: Summary Extract the Python 3.15 Windows event-log API support from #8954 as one cohesive Rust-only prerequisite for #9079's final-source standard-library synchronization. Expose _winapi.Re...

Opengraph URL: https://github.com/RustPython/RustPython/pull/9086

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:18a5d715-ab81-5dcb-64cd-84f7a8db03c9
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD350:34DB8F:33B40DF:451A439:6B020896
html-safe-nonce42b9eb06699da089ec7c07a820ce256333697b6ba9f384423c0fdb4ebed14b02
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMzUwOjM0REI4RjozM0I0MERGOjQ1MUE0Mzk6NkIwMjA4OTYiLCJ2aXNpdG9yX2lkIjoiMzMxNDMyNjI5ODc1NDY4MDk4MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmaca2859c61f51181aafbcb2cdd41d4c19fbaf0add4ec28d2ef9578f0f5f3584839
hovercard-subject-tagpull_request:4820867248
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/RustPython/RustPython/pull/9086/files
twitter:imagehttps://avatars.githubusercontent.com/u/336763669?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/336763669?s=400&v=4
og:image:altSummary Extract the Python 3.15 Windows event-log API support from #8954 as one cohesive Rust-only prerequisite for #9079's final-source standard-library synchronization. Expose _winapi.Regist...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/RustPython/RustPython git https://github.com/RustPython/RustPython.git
octolytics-dimension-user_id39710557
octolytics-dimension-user_loginRustPython
octolytics-dimension-repository_id135201145
octolytics-dimension-repository_nwoRustPython/RustPython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id135201145
octolytics-dimension-repository_network_root_nwoRustPython/RustPython
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
release423dbb54c5e7bfecc838eb387c1435eb3d0e760d
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/RustPython/RustPython/pull/9086/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FRustPython%2FRustPython%2Fpull%2F9086%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FRustPython%2FRustPython%2Fpull%2F9086%2Ffiles
Sign uphttps://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=RustPython%2FRustPython
Reloadhttps://github.com/RustPython/RustPython/pull/9086/files
Reloadhttps://github.com/RustPython/RustPython/pull/9086/files
Reloadhttps://github.com/RustPython/RustPython/pull/9086/files
RustPythonhttps://github.com/RustPython
RustPythonhttps://github.com/RustPython/RustPython
Codehttps://github.com/RustPython/RustPython
Issues195 (195)https://github.com/RustPython/RustPython/issues
Pull requests133 (133)https://github.com/RustPython/RustPython/pulls
Discussionshttps://github.com/RustPython/RustPython/discussions
Actionshttps://github.com/RustPython/RustPython/actions
Projectshttps://github.com/RustPython/RustPython/projects
Wikihttps://github.com/RustPython/RustPython/wiki
Security and qualityhttps://github.com/RustPython/RustPython/security
Insightshttps://github.com/RustPython/RustPython/insights
Sign up for GitHub https://github.com/signup?return_to=%2FRustPython%2FRustPython%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2FRustPython%2FRustPython%2Fissues%2Fnew%2Fchoose
youknowonehttps://github.com/youknowone
RustPython:mainhttps://github.com/RustPython/RustPython/tree/main
youknowdot:winapi-eventlog-315https://github.com/youknowdot/RustPython/tree/winapi-eventlog-315
Conversation 6 https://github.com/RustPython/RustPython/pull/9086
Commits 3 https://github.com/RustPython/RustPython/pull/9086/commits
Checks 29 https://github.com/RustPython/RustPython/pull/9086/checks
Files changed https://github.com/RustPython/RustPython/pull/9086/files
Please reload this pagehttps://github.com/RustPython/RustPython/pull/9086/files
Implement Python 3.15 Windows event-log APIs https://github.com/RustPython/RustPython/pull/9086/files#top
Show all changes 3 commits https://github.com/RustPython/RustPython/pull/9086/files
83ad397 Implement Python 3.15 Windows event-log APIs youknowdot Oct 11, 2026 https://github.com/RustPython/RustPython/pull/9086/commits/83ad397fa98d13ab529d5b8370713d4a50370213
ab2e879 Match final unsigned event-log argument errors youknowdot Oct 11, 2026 https://github.com/RustPython/RustPython/pull/9086/commits/ab2e8799ccfa288529e89c5ad8b035362bd9e328
6826d1a Rename Windows API regressions to the shared snippet youknowdot Oct 12, 2026 https://github.com/RustPython/RustPython/pull/9086/commits/6826d1aa2ddf1bcde0484677e4ea7d88bdbd0a6c
Clear filters https://github.com/RustPython/RustPython/pull/9086/files
Please reload this pagehttps://github.com/RustPython/RustPython/pull/9086/files
Please reload this pagehttps://github.com/RustPython/RustPython/pull/9086/files
Cargo.toml https://github.com/RustPython/RustPython/pull/9086/files#diff-e4412732c72406dfd2c3158e46bd5886285711715534b15ae910e1aec622ae4f
winapi.rs https://github.com/RustPython/RustPython/pull/9086/files#diff-20da0028d67b16371ed93c0bac8ba15bc0ce6c3f36074505fc3601ba8097276c
_winapi.rs https://github.com/RustPython/RustPython/pull/9086/files#diff-97cc2c90c1227b573945558c6c4684b975fb88fd8c4097e212a5594ded208b9a
stdlib_winapi.py https://github.com/RustPython/RustPython/pull/9086/files#diff-16c493876bbf167a546999a6c7caea2a65a6246508d984a14de4f2a0c088b3b5
crates/host_env/Cargo.tomlhttps://github.com/RustPython/RustPython/pull/9086/files#diff-e4412732c72406dfd2c3158e46bd5886285711715534b15ae910e1aec622ae4f
View file https://github.com/youknowdot/RustPython/blob/6826d1aa2ddf1bcde0484677e4ea7d88bdbd0a6c/crates/host_env/Cargo.toml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/RustPython/RustPython/pull/9086/{{ revealButtonHref }}
https://github.com/RustPython/RustPython/pull/9086/files#diff-e4412732c72406dfd2c3158e46bd5886285711715534b15ae910e1aec622ae4f
https://github.com/RustPython/RustPython/pull/9086/files#diff-e4412732c72406dfd2c3158e46bd5886285711715534b15ae910e1aec622ae4f
crates/host_env/src/winapi.rshttps://github.com/RustPython/RustPython/pull/9086/files#diff-20da0028d67b16371ed93c0bac8ba15bc0ce6c3f36074505fc3601ba8097276c
View file https://github.com/youknowdot/RustPython/blob/6826d1aa2ddf1bcde0484677e4ea7d88bdbd0a6c/crates/host_env/src/winapi.rs
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/RustPython/RustPython/pull/9086/{{ revealButtonHref }}
https://github.com/RustPython/RustPython/pull/9086/files#diff-20da0028d67b16371ed93c0bac8ba15bc0ce6c3f36074505fc3601ba8097276c
https://github.com/RustPython/RustPython/pull/9086/files#diff-20da0028d67b16371ed93c0bac8ba15bc0ce6c3f36074505fc3601ba8097276c
https://github.com/RustPython/RustPython/pull/9086/files#diff-20da0028d67b16371ed93c0bac8ba15bc0ce6c3f36074505fc3601ba8097276c
https://github.com/RustPython/RustPython/pull/9086/files#diff-20da0028d67b16371ed93c0bac8ba15bc0ce6c3f36074505fc3601ba8097276c
crates/vm/src/stdlib/_winapi.rshttps://github.com/RustPython/RustPython/pull/9086/files#diff-97cc2c90c1227b573945558c6c4684b975fb88fd8c4097e212a5594ded208b9a
View file https://github.com/youknowdot/RustPython/blob/6826d1aa2ddf1bcde0484677e4ea7d88bdbd0a6c/crates/vm/src/stdlib/_winapi.rs
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/RustPython/RustPython/pull/9086/{{ revealButtonHref }}
https://github.com/RustPython/RustPython/pull/9086/files#diff-97cc2c90c1227b573945558c6c4684b975fb88fd8c4097e212a5594ded208b9a
https://github.com/RustPython/RustPython/pull/9086/files#diff-97cc2c90c1227b573945558c6c4684b975fb88fd8c4097e212a5594ded208b9a
https://github.com/RustPython/RustPython/pull/9086/files#diff-97cc2c90c1227b573945558c6c4684b975fb88fd8c4097e212a5594ded208b9a
https://github.com/RustPython/RustPython/pull/9086/files#diff-97cc2c90c1227b573945558c6c4684b975fb88fd8c4097e212a5594ded208b9a
extra_tests/snippets/stdlib_winapi.pyhttps://github.com/RustPython/RustPython/pull/9086/files#diff-16c493876bbf167a546999a6c7caea2a65a6246508d984a14de4f2a0c088b3b5
View file https://github.com/youknowdot/RustPython/blob/6826d1aa2ddf1bcde0484677e4ea7d88bdbd0a6c/extra_tests/snippets/stdlib_winapi.py
Open in desktop https://desktop.github.com
youknowonehttps://github.com/youknowone
Oct 12, 2026https://github.com/RustPython/RustPython/pull/9086/files#r4244719689
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/RustPython/RustPython/pull/9086/files
https://github.co/hiddenchars
https://github.com/RustPython/RustPython/pull/9086/{{ revealButtonHref }}
chatgpt-codex-connectorhttps://github.com/apps/chatgpt-codex-connector
Oct 12, 2026https://github.com/RustPython/RustPython/pull/9086/files#r4245560670
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
https://camo.githubusercontent.com/a08bbb8a949f7033433a88444eeae385ff6a5e599d92f878fb05fa85707b7816/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f50312d6f72616e67653f7374796c653d666c6174
AGENTS.md:L273-L280https://github.com/RustPython/RustPython/blob/6826d1aa2ddf1bcde0484677e4ea7d88bdbd0a6c/AGENTS.md#L273-L280
Please reload this pagehttps://github.com/RustPython/RustPython/pull/9086/files
Please reload this pagehttps://github.com/RustPython/RustPython/pull/9086/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.