René's URL Explorer Experiment


Title: Restore ten guarded C API test modules by youknowdot · Pull Request #9505 · RustPython/RustPython · GitHub

Open Graph Title: Restore ten guarded C API test modules by youknowdot · Pull Request #9505 · RustPython/RustPython

X Title: Restore ten guarded C API test modules by youknowdot · Pull Request #9505 · RustPython/RustPython

Description: Summary Restore ten whole test_capi modules from pinned CPython 3.15 (d220409a13b77de7a6c30abe16ea90db01528edc) through the actual scripts/update_lib migrate command: Canonical byte-identical: test_file, test_object, test_run, test_set, test_slots, test_tuple, test_complex, test_float. test_codecs: use the existing optional import helper for _testcapi before the unchanged _testlimitedcapi gate. test_getargs: bind the genuinely required getargs_keywords and getargs_keyword_only through existing support.get_attribute. A partial fixture such as #9143 lacks these APIs; this raises a real capability skip rather than an import failure. The unchanged complex/float sibling imports propagate that skip. All class/function bodies, decorators and assertions remain canonical. No new skip decorators, xfails, fake fixtures or global test-disable switches are introduced. This is source restoration, not implementation of these C API fixtures. The package still has 22 missing canonical files afterward. Tooling consolidation The import-binding rewrite extension has been removed. This PR now contains only the ten whole test files, unchanged from their prior reviewed bytes. The existing migrate --patches preservation blocks reproduce both adapted files exactly without another import-rewrite framework. Updater implementation changes are consolidated in #9578. The existing hold remains: do not add these tests before #9270 lands. Current consolidation validation All ten Lib/ files are byte-identical to the prior PR head. The remaining host updater suite passes: 233 tests. Normal configured commit hooks pass. A temporary-directory check reproduced both adapted whole modules byte-for-byte using the existing preservation-block path and verified their class/function ASTs against pinned CPython. No C API tests were executed. Prior validation below is historical, not a new runtime result. Original validation (before tooling removal) Reproduced on main 88f373357f40923c7b1bb533072e7962790e2663; all 17 original parent-file bytes were checked against their PR heads. Host updater suite: 241 tests passed, independently rechecked with Python 3.13 and 3.12. Actual candidate updater generated all ten modules. Eight canonical byte identities, two exact reviewed metadata adaptations, and full class/function/decorator/assertion AST equality were verified. Normal configured commit hooks passed; final 13-file hashes and reviewed diff were unchanged afterward. Following an execution-environment reset, the private reviewed patch and metadata were recovered byte-for-byte from preserved artifacts. The newly generated files exactly match the historical Python 3.15 migration output hashes. Current selected-source parsing/tooling checks used Python 3.13; no fresh Python 3.15 runtime or full dependency-graph validation is claimed. Limits and future activation No C API test module was imported or executed locally, and no Rust/native build or full interpreter suite was run for this source-only cohort. Missing-fixture skips in ordinary builds are not C API behavioral passes or complete CPython compatibility. If a future _testcapi provides both getargs entry points, re-review the subsequent constants, eager class-body getargs_positional_only_and_keywords import and remaining parser APIs before activation. Introducing _testlimitedcapi similarly requires separate review of NULL/invalid arguments, refcounts, mutation, GC/finalizer and subprocess paths. Existing bodies are preserved, not claimed safe or supported by module presence alone. AI assistance OpenAI Codex assisted source investigation, updater implementation, migration, recovery and validation, with independent agent review. The runtime model version is unavailable. This reports tool/source evidence, not human manual validation or unexecuted native compatibility checks.

Open Graph Description: Summary Restore ten whole test_capi modules from pinned CPython 3.15 (d220409a13b77de7a6c30abe16ea90db01528edc) through the actual scripts/update_lib migrate command: Canonical byte-identical: tes...

X Description: Summary Restore ten whole test_capi modules from pinned CPython 3.15 (d220409a13b77de7a6c30abe16ea90db01528edc) through the actual scripts/update_lib migrate command: Canonical byte-identical: tes...

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

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:ffae9c6b-2736-0990-02b7-e72a529cd8e9
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE05A:2270F4:339D0B3:4476868:6B01F37B
html-safe-nonce94d96355b04e1e37a623d8b2bbe6104faf9462eb9d7a037d9187348b3b4a424f
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMDVBOjIyNzBGNDozMzlEMEIzOjQ0NzY4Njg6NkIwMUYzN0IiLCJ2aXNpdG9yX2lkIjoiNDkxNjM5MTY3MTg3ODUxMzUzMSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac76f8789db81d57ec16abc11be7eefb4fa036d05e74ee93a2d02b7b5ffaaf05ec
hovercard-subject-tagpull_request:5102519283
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/9505/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 Restore ten whole test_capi modules from pinned CPython 3.15 (d220409a13b77de7a6c30abe16ea90db01528edc) through the actual scripts/update_lib migrate command: Canonical byte-identical: tes...
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/9505/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FRustPython%2FRustPython%2Fpull%2F9505%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%2F9505%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/9505/files
Reloadhttps://github.com/RustPython/RustPython/pull/9505/files
Reloadhttps://github.com/RustPython/RustPython/pull/9505/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
youknowdothttps://github.com/youknowdot
RustPython:mainhttps://github.com/RustPython/RustPython/tree/main
youknowdot:upgrade/capi-fixture-sources-20261031https://github.com/youknowdot/RustPython/tree/upgrade/capi-fixture-sources-20261031
Conversation 3 https://github.com/RustPython/RustPython/pull/9505
Commits 2 https://github.com/RustPython/RustPython/pull/9505/commits
Checks 20 https://github.com/RustPython/RustPython/pull/9505/checks
Files changed https://github.com/RustPython/RustPython/pull/9505/files
Please reload this pagehttps://github.com/RustPython/RustPython/pull/9505/files
Restore ten guarded C API test modules https://github.com/RustPython/RustPython/pull/9505/files#top
Show all changes 2 commits https://github.com/RustPython/RustPython/pull/9505/files
2b751f7 Restore guarded C API argument and object test sources youknowdot Oct 31, 2026 https://github.com/RustPython/RustPython/pull/9505/commits/2b751f710d23bda989e56476bc38d2385a79995a
8fd2ba3 Drop unnecessary new-file import-binding framework youknowdot Nov 5, 2026 https://github.com/RustPython/RustPython/pull/9505/commits/8fd2ba34af75904cad9433dbffe0242f9a62bcc3
Clear filters https://github.com/RustPython/RustPython/pull/9505/files
Please reload this pagehttps://github.com/RustPython/RustPython/pull/9505/files
Please reload this pagehttps://github.com/RustPython/RustPython/pull/9505/files
test_codecs.py https://github.com/RustPython/RustPython/pull/9505/files#diff-56288e8a4da3618995c4eda56248372e0e468c9232c14136567cdadadebd8dd4
test_complex.py https://github.com/RustPython/RustPython/pull/9505/files#diff-1890de60f93f3b25e59d682f48055efeb4617724624b0d198bb39cf557aefaa8
test_file.py https://github.com/RustPython/RustPython/pull/9505/files#diff-b636fe6ac656d3029788c6c9431c0884dba5316e815ec64c1165597cdee065f8
test_float.py https://github.com/RustPython/RustPython/pull/9505/files#diff-dfb52509777790fbc5dc9842b814f0cb46423bf1cd5bb484b1624eccd6013a4c
test_getargs.py https://github.com/RustPython/RustPython/pull/9505/files#diff-741c124883460390a6d87e7dff448145f6a03a05ebe8143dd0e98b7a94732e75
test_object.py https://github.com/RustPython/RustPython/pull/9505/files#diff-52e6252e0b6d4e65c67992a1a0cd28d22ff7bde38f5b498c1507290451c760c4
test_run.py https://github.com/RustPython/RustPython/pull/9505/files#diff-f4077b1d0f6f78fb01f5dfe23c3de4d5944bf9f00ccbc91f6cb08a93fb337ffd
test_set.py https://github.com/RustPython/RustPython/pull/9505/files#diff-2edaddf44e38a5a58e62355613f9f1fb685ef67dc95b5f5af7ca7886af8fc0a6
test_slots.py https://github.com/RustPython/RustPython/pull/9505/files#diff-6880f476bbba09ccf3d6eed9cc998079ae58ea74b3b25e090693cf58249e094b
test_tuple.py https://github.com/RustPython/RustPython/pull/9505/files#diff-666a430c62401e7e7ef2b95168ac5523aa614e3cebaf0f524aabc9e322029b28
Lib/test/test_capi/test_codecs.pyhttps://github.com/RustPython/RustPython/pull/9505/files#diff-56288e8a4da3618995c4eda56248372e0e468c9232c14136567cdadadebd8dd4
View file https://github.com/RustPython/RustPython/blob/8fd2ba34af75904cad9433dbffe0242f9a62bcc3/Lib/test/test_capi/test_codecs.py
Open in desktop https://desktop.github.com
Please reload this pagehttps://github.com/RustPython/RustPython/pull/9505/files
Lib/test/test_capi/test_complex.pyhttps://github.com/RustPython/RustPython/pull/9505/files#diff-1890de60f93f3b25e59d682f48055efeb4617724624b0d198bb39cf557aefaa8
View file https://github.com/RustPython/RustPython/blob/8fd2ba34af75904cad9433dbffe0242f9a62bcc3/Lib/test/test_capi/test_complex.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/RustPython/RustPython/pull/9505/{{ revealButtonHref }}
Please reload this pagehttps://github.com/RustPython/RustPython/pull/9505/files
Please reload this pagehttps://github.com/RustPython/RustPython/pull/9505/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.