Title: sqlite: Fix missing ProgrammingError for parameter mismatch by ever0de · Pull Request #6104 · RustPython/RustPython · GitHub
Open Graph Title: sqlite: Fix missing ProgrammingError for parameter mismatch by ever0de · Pull Request #6104 · RustPython/RustPython
X Title: sqlite: Fix missing ProgrammingError for parameter mismatch by ever0de · Pull Request #6104 · RustPython/RustPython
Description: ref https://github.com/python/cpython/blob/d22a7456443415961b93169b851ab7e550be8791/Modules/_sqlite/cursor.c#L640-L683 Summary by CodeRabbit Bug Fixes Validates the number of parameters required by prepared SQLite statements before execution to prevent missing or extra bindings. Emits clearer ProgrammingError messages indicating how many bindings are required versus supplied, including when none are provided. Improves reliability of parameterized queries by rejecting mismatched bindings early without changing the public API.
Open Graph Description: ref https://github.com/python/cpython/blob/d22a7456443415961b93169b851ab7e550be8791/Modules/_sqlite/cursor.c#L640-L683 Summary by CodeRabbit Bug Fixes Validates the number of parameters requir...
X Description: ref https://github.com/python/cpython/blob/d22a7456443415961b93169b851ab7e550be8791/Modules/_sqlite/cursor.c#L640-L683 Summary by CodeRabbit Bug Fixes Validates the number of parameters requir...
Opengraph URL: https://github.com/RustPython/RustPython/pull/6104
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:e16e4ff1-14d9-8313-bf02-2948626f7aa8 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | A9BA:29A968:493A4:63AD5:6A6260F8 |
| html-safe-nonce | 057b1c535e2006994f7891a04f829787323041a8ce7c7e56258304b1af4e2a05 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBOUJBOjI5QTk2ODo0OTNBNDo2M0FENTo2QTYyNjBGOCIsInZpc2l0b3JfaWQiOiI5NDgzNDg5MjQxMzgyNTA0ODgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 5b5380f44d7c979cf4f192b00742fd91fd8bdb2658c6e24d2d88997b7693d9d8 |
| hovercard-subject-tag | pull_request:2758927497 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/RustPython/RustPython/pull/6104/files |
| twitter:image | https://avatars.githubusercontent.com/u/27040963?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/27040963?s=400&v=4 |
| og:image:alt | ref https://github.com/python/cpython/blob/d22a7456443415961b93169b851ab7e550be8791/Modules/_sqlite/cursor.c#L640-L683 Summary by CodeRabbit Bug Fixes Validates the number of parameters requir... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 6d5cd56dfa7e7ed6718ba879da3c0d884bd8b5fecd3883b5f00dcb66b8b8680f |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/RustPython/RustPython git https://github.com/RustPython/RustPython.git |
| octolytics-dimension-user_id | 39710557 |
| octolytics-dimension-user_login | RustPython |
| octolytics-dimension-repository_id | 135201145 |
| octolytics-dimension-repository_nwo | RustPython/RustPython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 135201145 |
| octolytics-dimension-repository_network_root_nwo | RustPython/RustPython |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | d28abcf30a4025dfeef7673e1509edbc5d402c97 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width