René's URL Explorer Experiment


Title: gh-89022: Improve sqlite3 exceptions related to binding params and API misuse by erlend-aasland · Pull Request #91572 · python/cpython · GitHub

Open Graph Title: gh-89022: Improve sqlite3 exceptions related to binding params and API misuse by erlend-aasland · Pull Request #91572 · python/cpython

X Title: gh-89022: Improve sqlite3 exceptions related to binding params and API misuse by erlend-aasland · Pull Request #91572 · python/cpython

Description: Map SQLITE_MISUSE to InterfaceError instead of ProgrammingError Raise more accurate exceptions when binding parameters fail Fixes gh-89022

Open Graph Description: Map SQLITE_MISUSE to InterfaceError instead of ProgrammingError Raise more accurate exceptions when binding parameters fail Fixes gh-89022

X Description: Map SQLITE_MISUSE to InterfaceError instead of ProgrammingError Raise more accurate exceptions when binding parameters fail Fixes gh-89022

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:a76f9f6b-7a30-681d-7e74-547e9127afa1
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idEBA0:1EFC6:1D7166B:284E942:696ABDD3
html-safe-nonce6b426e03bd0175cabc0f1d2597ba3dc831331c630cbb505f61476c34c255ef20
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQkEwOjFFRkM2OjFENzE2NkI6Mjg0RTk0Mjo2OTZBQkREMyIsInZpc2l0b3JfaWQiOiIyOTgwMDMwODYwNzI4Mzg0OTc5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmaca6ae4cec2ea2127e8d51996e8c1615df165cddcf0c590bf0c085094bdef141cb
hovercard-subject-tagpull_request:910907717
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/91572/files
twitter:imagehttps://avatars.githubusercontent.com/u/13780613?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/13780613?s=400&v=4
og:image:altMap SQLITE_MISUSE to InterfaceError instead of ProgrammingError Raise more accurate exceptions when binding parameters fail Fixes gh-89022
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None46ce962e0e18113ea447391b6ace8b02d4d2861e57b4fbab3658698f73d8855b
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
release30300f30bb3949de255e84a146706a3bdb5c19c9
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/91572/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F91572%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%2F91572%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/91572/files
Reloadhttps://github.com/python/cpython/pull/91572/files
Reloadhttps://github.com/python/cpython/pull/91572/files
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/91572/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/91572/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
JelleZijlstrahttps://github.com/JelleZijlstra
python:mainhttps://github.com/python/cpython/tree/main
erlend-aasland:sqlite-misusehttps://github.com/erlend-aasland/cpython/tree/sqlite-misuse
Conversation 10 https://github.com/python/cpython/pull/91572
Commits 9 https://github.com/python/cpython/pull/91572/commits
Checks 0 https://github.com/python/cpython/pull/91572/checks
Files changed https://github.com/python/cpython/pull/91572/files
Please reload this pagehttps://github.com/python/cpython/pull/91572/files
gh-89022: Improve sqlite3 exceptions related to binding params and API misuse https://github.com/python/cpython/pull/91572/files#top
Show all changes 9 commits https://github.com/python/cpython/pull/91572/files
2868daf gh-89022: Map SQLITE_MISUSE to sqlite3.InterfaceError Apr 15, 2022 https://github.com/python/cpython/pull/91572/commits/2868daf3d0be10aae45f47b2b3d093ecbccc6acf
cfba333 Add NEWS Apr 15, 2022 https://github.com/python/cpython/pull/91572/commits/cfba3331077fad5007bd08ae4d093fe6e5abcb32
c32e2e6 Raise better errors when binding parameters fail. erlend-aasland May 2, 2022 https://github.com/python/cpython/pull/91572/commits/c32e2e6dee13f94360ab6eb3cf938d6f7fc021b5
268e4e3 Expand NEWS entry erlend-aasland May 2, 2022 https://github.com/python/cpython/pull/91572/commits/268e4e3b28d300456573bed56e96cd09189f6cb9
d7962c2 Sync with main erlend-aasland May 2, 2022 https://github.com/python/cpython/pull/91572/commits/d7962c2095b994ec4689072dd5b51ec2f50f582a
c83172a Improve more bind exceptions erlend-aasland May 2, 2022 https://github.com/python/cpython/pull/91572/commits/c83172a961213ec8f29e6050f562b5b42120c0b5
76f7ed1 pysqlite_statement_bind_parameter is local to statement.c, so make it… erlend-aasland May 2, 2022 https://github.com/python/cpython/pull/91572/commits/76f7ed12fddf07180cd683757f0eb0b969bb77c9
6ae7bde Merge branch 'main' into sqlite-misuse erlend-aasland May 3, 2022 https://github.com/python/cpython/pull/91572/commits/6ae7bdef7538654f995bb6bee271cac330eb390f
5051708 Merge branch 'main' into sqlite-misuse erlend-aasland May 3, 2022 https://github.com/python/cpython/pull/91572/commits/505170892318e0d8af62a77c674075cef111fb9d
Clear filters https://github.com/python/cpython/pull/91572/files
Please reload this pagehttps://github.com/python/cpython/pull/91572/files
Please reload this pagehttps://github.com/python/cpython/pull/91572/files
test_dbapi.py https://github.com/python/cpython/pull/91572/files#diff-8e2e6a9df72f1a10e817fcf22c760aebeabd549d12d1f6d4a921085462288e4b
test_types.py https://github.com/python/cpython/pull/91572/files#diff-5e15db1cb478ef74071a421cacd6dcf6b8514c7034be4d3b1500b0f411d1bdb3
2022-04-15-17-06-09.gh-issue-89022.DgdQCa.rst https://github.com/python/cpython/pull/91572/files#diff-5d4448b26a2742826ac4445d4e98e6159fa8a0bbb343573fb5516fbd72876e82
cursor.c https://github.com/python/cpython/pull/91572/files#diff-7209d2a9e4167e7aefe9b52e03d1d291f2e078cbfac7652c747d91f90fbacb82
util.c https://github.com/python/cpython/pull/91572/files#diff-a1ebbfcd22aca69093f4f07f36a5b7a5968786b483d69b8fdf3493f6bed82613
https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L579
Lib/test/test_sqlite3/test_dbapi.pyhttps://github.com/python/cpython/pull/91572/files#diff-8e2e6a9df72f1a10e817fcf22c760aebeabd549d12d1f6d4a921085462288e4b
View file https://github.com/erlend-aasland/cpython/blob/505170892318e0d8af62a77c674075cef111fb9d/Lib/test/test_sqlite3/test_dbapi.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/91572/{{ revealButtonHref }}
https://github.com/python/cpython/pull/91572/files#diff-8e2e6a9df72f1a10e817fcf22c760aebeabd549d12d1f6d4a921085462288e4b
https://github.com/python/cpython/pull/91572/files#diff-8e2e6a9df72f1a10e817fcf22c760aebeabd549d12d1f6d4a921085462288e4b
https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L579
Lib/test/test_sqlite3/test_types.pyhttps://github.com/python/cpython/pull/91572/files#diff-5e15db1cb478ef74071a421cacd6dcf6b8514c7034be4d3b1500b0f411d1bdb3
View file https://github.com/erlend-aasland/cpython/blob/505170892318e0d8af62a77c674075cef111fb9d/Lib/test/test_sqlite3/test_types.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/91572/{{ revealButtonHref }}
https://github.com/python/cpython/pull/91572/files#diff-5e15db1cb478ef74071a421cacd6dcf6b8514c7034be4d3b1500b0f411d1bdb3
https://github.com/python/cpython/pull/91572/files#diff-5e15db1cb478ef74071a421cacd6dcf6b8514c7034be4d3b1500b0f411d1bdb3
https://github.com/python/cpython/pull/91572/files#diff-5e15db1cb478ef74071a421cacd6dcf6b8514c7034be4d3b1500b0f411d1bdb3
Misc/NEWS.d/next/Library/2022-04-15-17-06-09.gh-issue-89022.DgdQCa.rsthttps://github.com/python/cpython/pull/91572/files#diff-5d4448b26a2742826ac4445d4e98e6159fa8a0bbb343573fb5516fbd72876e82
View file https://github.com/erlend-aasland/cpython/blob/505170892318e0d8af62a77c674075cef111fb9d/Misc/NEWS.d/next/Library/2022-04-15-17-06-09.gh-issue-89022.DgdQCa.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/91572/{{ revealButtonHref }}
https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L580
Modules/_sqlite/cursor.chttps://github.com/python/cpython/pull/91572/files#diff-7209d2a9e4167e7aefe9b52e03d1d291f2e078cbfac7652c747d91f90fbacb82
View file https://github.com/erlend-aasland/cpython/blob/505170892318e0d8af62a77c674075cef111fb9d/Modules/_sqlite/cursor.c
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/91572/{{ revealButtonHref }}
https://github.com/python/cpython/pull/91572/files#diff-7209d2a9e4167e7aefe9b52e03d1d291f2e078cbfac7652c747d91f90fbacb82
https://github.com/python/cpython/pull/91572/files#diff-7209d2a9e4167e7aefe9b52e03d1d291f2e078cbfac7652c747d91f90fbacb82
https://github.com/python/cpython/pull/91572/files#diff-7209d2a9e4167e7aefe9b52e03d1d291f2e078cbfac7652c747d91f90fbacb82
https://github.com/python/cpython/pull/91572/files#diff-7209d2a9e4167e7aefe9b52e03d1d291f2e078cbfac7652c747d91f90fbacb82
https://github.com/python/cpython/pull/91572/files#diff-7209d2a9e4167e7aefe9b52e03d1d291f2e078cbfac7652c747d91f90fbacb82
https://github.com/python/cpython/pull/91572/files#diff-7209d2a9e4167e7aefe9b52e03d1d291f2e078cbfac7652c747d91f90fbacb82
https://github.com/python/cpython/pull/91572/files#diff-7209d2a9e4167e7aefe9b52e03d1d291f2e078cbfac7652c747d91f90fbacb82
https://github.com/python/cpython/pull/91572/files#diff-7209d2a9e4167e7aefe9b52e03d1d291f2e078cbfac7652c747d91f90fbacb82
https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L580
Modules/_sqlite/util.chttps://github.com/python/cpython/pull/91572/files#diff-a1ebbfcd22aca69093f4f07f36a5b7a5968786b483d69b8fdf3493f6bed82613
View file https://github.com/erlend-aasland/cpython/blob/505170892318e0d8af62a77c674075cef111fb9d/Modules/_sqlite/util.c
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/91572/{{ revealButtonHref }}
https://github.com/python/cpython/pull/91572/files#diff-a1ebbfcd22aca69093f4f07f36a5b7a5968786b483d69b8fdf3493f6bed82613
https://github.com/python/cpython/pull/91572/files#diff-a1ebbfcd22aca69093f4f07f36a5b7a5968786b483d69b8fdf3493f6bed82613
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.