René's URL Explorer Experiment


Title: Align sqlite3 argument declarations with Python 3.15 by youknowdot · Pull Request #9533 · RustPython/RustPython · GitHub

Open Graph Title: Align sqlite3 argument declarations with Python 3.15 by youknowdot · Pull Request #9533 · RustPython/RustPython

X Title: Align sqlite3 argument declarations with Python 3.15 by youknowdot · Pull Request #9533 · RustPython/RustPython

Description: Summary Address the 24 SQLite entries (3 _sqlite3, 21 sqlite3) in the actual Ubuntu whats_left --signature output from #9530, head 68646843423633e60bd54c6d4150db953b303804. That report compares normalized inspect.signature, not raw __text_signature__. This changes only _sqlite3.rs, using typed declarations rather than overriding displayed signatures: Match Python 3.15's positional/keyword rules for complete_statement, create_function, create_aggregate, and set_progress_handler. Require string backup(name='main'), reject explicit fetchmany(None) while keeping the current arraysize default, and preserve execute's missing-parameters semantics while exposing parameters=(). Declare concrete defaults for blob read/seek, setconfig, and setoutputsize; match Clinic's integer/truth conversion for callback tracing, deterministic functions, and connection configuration. Require exactly three positional arguments for Blob.__exit__ and return False. Match the remaining parameter names for Connection/Cursor methods and adapter registration. Source comparison uses CPython 3.15.0, commit d220409a13b77de7a6c30abe16ea90db01528edc, Modules/_sqlite/{module,connection,cursor,blob}.c and their generated Clinic headers. No Lib, snippet, assertion, shared binder, or workflow changes. Validation Passed: git diff --check, rustfmt, normal configured pre-commit hooks (merge-conflict check, rustfmt, cspell). Independent source review completed; this is not runtime proof. Not run locally: native compilation, Rust/C-API tests, clippy, test_sqlite3, or RustPython/CPython runtime signature comparison. The local dependency cache/closure is unavailable; this remains Draft pending actual CI. Canonical validation target: cargo run --release --features sqlite -- -m test test_sqlite3 -v, plus required workspace/C-API tests and clippy. The existing keyword tests and expectedFailure markers are unchanged; no pass is claimed from their source alone. Item-level post-fix comparison still needs scripts/whats_left.py --signature on the verified build; main's existing CI invocation currently reports only module counts. No claimed reduction is inferred from those counts. Existing gaps not claimed fixed Connection.__exit__ still returns None and lacks CPython's rollback/chaining after a failed commit; this patch only renames its parameters. fetchmany/arraysize still use signed c_int rather than CPython's full uint32 range. Renaming adapter-registration arguments does not establish complete converter parity. AI assistance Implementation, source comparison, and independent source review were assisted by OpenAI Codex (model version not exposed). Normal hooks ran without bypass. Native runtime verification is outstanding as described above. Summary by CodeRabbit Bug Fixes SQLite methods now apply consistent argument handling, including support for documented positional and named arguments. Added defaults for the backup database name, blob read length, and blob seek origin. Behavior Changes Cursor array sizes are now non-negative; negative values are rejected. Connection and blob context-manager exit methods accept exception details and return a boolean.

Open Graph Description: Summary Address the 24 SQLite entries (3 _sqlite3, 21 sqlite3) in the actual Ubuntu whats_left --signature output from #9530, head 68646843423633e60bd54c6d4150db953b303804. That report compares nor...

X Description: Summary Address the 24 SQLite entries (3 _sqlite3, 21 sqlite3) in the actual Ubuntu whats_left --signature output from #9530, head 68646843423633e60bd54c6d4150db953b303804. That report compares nor...

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

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:34a0659d-0160-871a-04a7-6b3af3c2dba4
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idBDCC:2AF0D8:3723DD:44BED1:6B01F9F3
html-safe-nonce45b48270316e51fc0154cffda8b09d20ed583b07595da9b32300b6bab0b55b25
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRENDOjJBRjBEODozNzIzREQ6NDRCRUQxOjZCMDFGOUYzIiwidmlzaXRvcl9pZCI6IjEyMjQ0NTMxOTAyODQ2MDU5MzkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac5f6732838665b45fd91f6b782f8078e973c7c2aeba61778c92016a6813a95201
hovercard-subject-tagpull_request:5120412781
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/9533/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 Address the 24 SQLite entries (3 _sqlite3, 21 sqlite3) in the actual Ubuntu whats_left --signature output from #9530, head 68646843423633e60bd54c6d4150db953b303804. That report compares nor...
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/9533/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FRustPython%2FRustPython%2Fpull%2F9533%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%2F9533%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/9533/files
Reloadhttps://github.com/RustPython/RustPython/pull/9533/files
Reloadhttps://github.com/RustPython/RustPython/pull/9533/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:fix/sqlite-signatures-20261102https://github.com/youknowdot/RustPython/tree/fix/sqlite-signatures-20261102
Conversation 4 https://github.com/RustPython/RustPython/pull/9533
Commits 5 https://github.com/RustPython/RustPython/pull/9533/commits
Checks 28 https://github.com/RustPython/RustPython/pull/9533/checks
Files changed https://github.com/RustPython/RustPython/pull/9533/files
Please reload this pagehttps://github.com/RustPython/RustPython/pull/9533/files
Align sqlite3 argument declarations with Python 3.15 https://github.com/RustPython/RustPython/pull/9533/files#top
Show all changes 5 commits https://github.com/RustPython/RustPython/pull/9533/files
b48fa35 Align sqlite3 argument declarations with Python 3.15 codex Nov 2, 2026 https://github.com/RustPython/RustPython/pull/9533/commits/b48fa35facc96f6fe9554619ef60836fd9cb8b5e
0fc193e Expose existing signature comparison details in CI codex Nov 2, 2026 https://github.com/RustPython/RustPython/pull/9533/commits/0fc193ec4aadb046eebc7896d221d8bae861f238
b5c50e7 Retire passing sqlite callback regression marker codex Nov 2, 2026 https://github.com/RustPython/RustPython/pull/9533/commits/b5c50e743f4bddd6ccc102cb56e76f28fbe0c6e4
29c8c5b Merge current main while preserving sqlite signatures and exit semantics codex Nov 2, 2026 https://github.com/RustPython/RustPython/pull/9533/commits/29c8c5b2e5c73b51181b6d95f08c7606d000e4e1
19a79df Use uint32 bounds for sqlite cursor fetch sizes codex Nov 2, 2026 https://github.com/RustPython/RustPython/pull/9533/commits/19a79df05fd508bbe89999b83979dae125bf6ccd
Clear filters https://github.com/RustPython/RustPython/pull/9533/files
Please reload this pagehttps://github.com/RustPython/RustPython/pull/9533/files
Please reload this pagehttps://github.com/RustPython/RustPython/pull/9533/files
test_regression.py https://github.com/RustPython/RustPython/pull/9533/files#diff-6af71e073b0de1bcd0234a65865bbd666b78a45b07cca473ff3a74002614ddbf
_sqlite3.rs https://github.com/RustPython/RustPython/pull/9533/files#diff-5a5ea8fc8d5bfc6b5da126f9574990e39802662762f23a2a6a9143beca021e15
Lib/test/test_sqlite3/test_regression.pyhttps://github.com/RustPython/RustPython/pull/9533/files#diff-6af71e073b0de1bcd0234a65865bbd666b78a45b07cca473ff3a74002614ddbf
View file https://github.com/youknowdot/RustPython/blob/19a79df05fd508bbe89999b83979dae125bf6ccd/Lib/test/test_sqlite3/test_regression.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/RustPython/RustPython/pull/9533/{{ revealButtonHref }}
https://github.com/RustPython/RustPython/pull/9533/files#diff-6af71e073b0de1bcd0234a65865bbd666b78a45b07cca473ff3a74002614ddbf
https://github.com/RustPython/RustPython/pull/9533/files#diff-6af71e073b0de1bcd0234a65865bbd666b78a45b07cca473ff3a74002614ddbf
Please reload this pagehttps://github.com/RustPython/RustPython/pull/9533/files
Please reload this pagehttps://github.com/RustPython/RustPython/pull/9533/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.