| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:63f2f11b-8dfb-e0d6-e6cb-43e49d6c93b7 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | CFE2:32375B:512095:6CFAB3:6969B1A3 |
| html-safe-nonce | ec95b008e28cbce2cc934af85ae021005e0678f2192cccbed5d1daf7727add6a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRkUyOjMyMzc1Qjo1MTIwOTU6NkNGQUIzOjY5NjlCMUEzIiwidmlzaXRvcl9pZCI6IjIwMDg5MjEyNjU5OTU4ODcwMTEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | af94673832071f6fa036468f2fca404b2bcfedf9e699d06137ba000b9486371e |
| hovercard-subject-tag | pull_request:706885478 |
| 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 | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python/cpython/pull/27695/files |
| twitter:image | https://avatars.githubusercontent.com/u/13780613?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/13780613?s=400&v=4 |
| og:image:alt | Improve exception compliancy with PEP 249
Raise InterfaceError instead of ProgrammingError for SQLITE_MISUSE.
If SQLITE_MISUSE is raised, it is a sqlite3 module bug. Users of the
sqlite3 module ar... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | b23b8fcc855cd29bb04d6c94aafa62d336bf44eefa8229444eecc968cad03aee |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| 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 | 0672399d88424758731ec07fe24509e23bb17fb5 |
| ui-target | canary-1 |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/27695/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F27695%2Ffiles |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub SparkBuild and deploy intelligent apps | https://github.com/features/spark |
| GitHub ModelsManage and compare prompts | https://github.com/features/models |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| GitHub SponsorsFund open source developers | https://github.com/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/accelerator |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://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%2F27695%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 |
| Reload | https://github.com/python/cpython/pull/27695/files |
| Reload | https://github.com/python/cpython/pull/27695/files |
| Reload | https://github.com/python/cpython/pull/27695/files |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/27695/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 page | https://github.com/python/cpython/pull/27695/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 service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose |
| JelleZijlstra | https://github.com/JelleZijlstra |
| python:main | https://github.com/python/cpython/tree/main |
| erlend-aasland:sqlite-errors | https://github.com/erlend-aasland/cpython/tree/sqlite-errors |
|
Conversation
18
| https://github.com/python/cpython/pull/27695 |
|
Commits
16
| https://github.com/python/cpython/pull/27695/commits |
|
Checks
0
| https://github.com/python/cpython/pull/27695/checks |
|
Files changed
| https://github.com/python/cpython/pull/27695/files |
| Please reload this page | https://github.com/python/cpython/pull/27695/files |
|
bpo-44859: Raise more accurate exceptions in sqlite3
| https://github.com/python/cpython/pull/27695/files#top |
|
Show all changes
16 commits
| https://github.com/python/cpython/pull/27695/files |
|
0c8a88d
bpo-44859: Raise InterfaceError iso. ProgrammingError for SQLITE_MISUSE
Aug 9, 2021
| https://github.com/python/cpython/pull/27695/commits/0c8a88d4e30b4bb0423ab98715ab43520d5231f1 |
|
aa755d2
Don't overwrite BufferErrors when converting to BLOB
Aug 9, 2021
| https://github.com/python/cpython/pull/27695/commits/aa755d23e3516e842ab99de08db36af4b267a168 |
|
e51d6c1
Raise ProgrammingError if user tries to execute() more than one state…
Aug 9, 2021
| https://github.com/python/cpython/pull/27695/commits/e51d6c14f144aaf05f0d9a8dc743ea49411db430 |
|
452ce40
Raise DataError if query contains null chars
Aug 9, 2021
| https://github.com/python/cpython/pull/27695/commits/452ce400a124fb6b5c7f1e52b94c534f179fc672 |
|
f9a5dc6
Add NEWS
Aug 9, 2021
| https://github.com/python/cpython/pull/27695/commits/f9a5dc61c1b86790c712302b97e4d7257448e0a0 |
|
b08d507
Merge branch 'main' into sqlite-errors
Aug 30, 2021
| https://github.com/python/cpython/pull/27695/commits/b08d50783652c9b5a4df4f7f64b7377822b78326 |
|
ddcab47
Merge branch 'main' into sqlite-errors
Sep 14, 2021
| https://github.com/python/cpython/pull/27695/commits/ddcab47cd255d6c99f41d8dea8788d108b8dfc0b |
|
6d5361c
Merge branch 'main' into sqlite-errors
Sep 20, 2021
| https://github.com/python/cpython/pull/27695/commits/6d5361c927e2848a0e9425879fc5b7059e4d5fa7 |
|
f2300bd
_pysqlite_set_result() MUST set an exception if it returns -1
Sep 20, 2021
| https://github.com/python/cpython/pull/27695/commits/f2300bdc541e480580a63e061af872181d97d78e |
|
84af2b9
Merge branch 'main' into sqlite-errors
Nov 1, 2021
| https://github.com/python/cpython/pull/27695/commits/84af2b978c73469ca824bef345445cb8afe8fb62 |
|
d06b769
Merge branch 'main' into sqlite-errors
Nov 10, 2021
| https://github.com/python/cpython/pull/27695/commits/d06b7694b6f93615807a36ec158057a4579b65d4 |
|
8eb783e
Merge branch 'main' into sqlite-errors
Feb 26, 2022
| https://github.com/python/cpython/pull/27695/commits/8eb783ecb1a29ea73374eb853709c0e2dbff96cd |
|
d3186be
Adapt GH-27642 tests
Feb 26, 2022
| https://github.com/python/cpython/pull/27695/commits/d3186be74fe98e7361ef7b0b228cce4b5369078b |
|
b4a95bd
Address review: add tests for PyObject_GetBuffer failures
Feb 26, 2022
| https://github.com/python/cpython/pull/27695/commits/b4a95bdb096d379bc1698778a1506537224ea660 |
|
3792cf0
Address reviews
Mar 8, 2022
| https://github.com/python/cpython/pull/27695/commits/3792cf0deb82d3aee60d9e2d691cf8539fd37e62 |
|
99c9040
Merge branch 'main' into sqlite-errors
Mar 8, 2022
| https://github.com/python/cpython/pull/27695/commits/99c9040235dafd714bbed78b624758f9696df0f1 |
|
Clear filters
| https://github.com/python/cpython/pull/27695/files |
| Please reload this page | https://github.com/python/cpython/pull/27695/files |
| Please reload this page | https://github.com/python/cpython/pull/27695/files |
|
test_dbapi.py
| https://github.com/python/cpython/pull/27695/files#diff-8e2e6a9df72f1a10e817fcf22c760aebeabd549d12d1f6d4a921085462288e4b |
|
test_regression.py
| https://github.com/python/cpython/pull/27695/files#diff-6af71e073b0de1bcd0234a65865bbd666b78a45b07cca473ff3a74002614ddbf |
|
test_userfunctions.py
| https://github.com/python/cpython/pull/27695/files#diff-80e889411fc7bc8a3ef80de97a83b6f55f8ecade545aaaaa4fc109029e261fe0 |
|
2021-08-10-00-05-53.bpo-44859.9e9_3V.rst
| https://github.com/python/cpython/pull/27695/files#diff-9e885b2a1f95e1894873f9ba2ac651268f645c8c5ef4e1c82b2262ef7ad4c20d |
|
connection.c
| https://github.com/python/cpython/pull/27695/files#diff-f405d0da477c184cd4afb94ce52dfd7fcd4980500a3a5ffe753d0e8cd57638a2 |
|
statement.c
| https://github.com/python/cpython/pull/27695/files#diff-517a9c73ccad12dd55f0beb930416fee87cade1b2abbb84a73ed8e39cc696c39 |
|
| https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L579 |
| Lib/test/test_sqlite3/test_dbapi.py | https://github.com/python/cpython/pull/27695/files#diff-8e2e6a9df72f1a10e817fcf22c760aebeabd549d12d1f6d4a921085462288e4b |
|
View file
| https://github.com/erlend-aasland/cpython/blob/99c9040235dafd714bbed78b624758f9696df0f1/Lib/test/test_sqlite3/test_dbapi.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/27695/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/27695/files#diff-8e2e6a9df72f1a10e817fcf22c760aebeabd549d12d1f6d4a921085462288e4b |
|
| https://github.com/python/cpython/pull/27695/files#diff-8e2e6a9df72f1a10e817fcf22c760aebeabd549d12d1f6d4a921085462288e4b |
|
| https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L579 |
| Lib/test/test_sqlite3/test_regression.py | https://github.com/python/cpython/pull/27695/files#diff-6af71e073b0de1bcd0234a65865bbd666b78a45b07cca473ff3a74002614ddbf |
|
View file
| https://github.com/erlend-aasland/cpython/blob/99c9040235dafd714bbed78b624758f9696df0f1/Lib/test/test_sqlite3/test_regression.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/27695/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/27695/files#diff-6af71e073b0de1bcd0234a65865bbd666b78a45b07cca473ff3a74002614ddbf |
|
| https://github.com/python/cpython/pull/27695/files#diff-6af71e073b0de1bcd0234a65865bbd666b78a45b07cca473ff3a74002614ddbf |
|
| https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L579 |
| Lib/test/test_sqlite3/test_userfunctions.py | https://github.com/python/cpython/pull/27695/files#diff-80e889411fc7bc8a3ef80de97a83b6f55f8ecade545aaaaa4fc109029e261fe0 |
|
View file
| https://github.com/erlend-aasland/cpython/blob/99c9040235dafd714bbed78b624758f9696df0f1/Lib/test/test_sqlite3/test_userfunctions.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/27695/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/27695/files#diff-80e889411fc7bc8a3ef80de97a83b6f55f8ecade545aaaaa4fc109029e261fe0 |
|
| https://github.com/python/cpython/pull/27695/files#diff-80e889411fc7bc8a3ef80de97a83b6f55f8ecade545aaaaa4fc109029e261fe0 |
|
| https://github.com/python/cpython/pull/27695/files#diff-80e889411fc7bc8a3ef80de97a83b6f55f8ecade545aaaaa4fc109029e261fe0 |
|
| https://github.com/python/cpython/pull/27695/files#diff-80e889411fc7bc8a3ef80de97a83b6f55f8ecade545aaaaa4fc109029e261fe0 |
|
| https://github.com/python/cpython/pull/27695/files#diff-80e889411fc7bc8a3ef80de97a83b6f55f8ecade545aaaaa4fc109029e261fe0 |
|
| https://github.com/python/cpython/pull/27695/files#diff-80e889411fc7bc8a3ef80de97a83b6f55f8ecade545aaaaa4fc109029e261fe0 |
| Misc/NEWS.d/next/Library/2021-08-10-00-05-53.bpo-44859.9e9_3V.rst | https://github.com/python/cpython/pull/27695/files#diff-9e885b2a1f95e1894873f9ba2ac651268f645c8c5ef4e1c82b2262ef7ad4c20d |
|
View file
| https://github.com/erlend-aasland/cpython/blob/99c9040235dafd714bbed78b624758f9696df0f1/Misc/NEWS.d/next/Library/2021-08-10-00-05-53.bpo-44859.9e9_3V.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/27695/{{ revealButtonHref }} |
| Please reload this page | https://github.com/python/cpython/pull/27695/files |
|
| https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L580 |
| Modules/_sqlite/connection.c | https://github.com/python/cpython/pull/27695/files#diff-f405d0da477c184cd4afb94ce52dfd7fcd4980500a3a5ffe753d0e8cd57638a2 |
|
View file
| https://github.com/erlend-aasland/cpython/blob/99c9040235dafd714bbed78b624758f9696df0f1/Modules/_sqlite/connection.c |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/27695/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/27695/files#diff-f405d0da477c184cd4afb94ce52dfd7fcd4980500a3a5ffe753d0e8cd57638a2 |
| Please reload this page | https://github.com/python/cpython/pull/27695/files |
|
| https://github.com/python/cpython/pull/27695/files#diff-f405d0da477c184cd4afb94ce52dfd7fcd4980500a3a5ffe753d0e8cd57638a2 |
|
| https://github.com/python/cpython/pull/27695/files#diff-f405d0da477c184cd4afb94ce52dfd7fcd4980500a3a5ffe753d0e8cd57638a2 |
|
| https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L580 |
| Modules/_sqlite/statement.c | https://github.com/python/cpython/pull/27695/files#diff-517a9c73ccad12dd55f0beb930416fee87cade1b2abbb84a73ed8e39cc696c39 |
|
View file
| https://github.com/erlend-aasland/cpython/blob/99c9040235dafd714bbed78b624758f9696df0f1/Modules/_sqlite/statement.c |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/27695/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/27695/files#diff-517a9c73ccad12dd55f0beb930416fee87cade1b2abbb84a73ed8e39cc696c39 |
|
| https://github.com/python/cpython/pull/27695/files#diff-517a9c73ccad12dd55f0beb930416fee87cade1b2abbb84a73ed8e39cc696c39 |
|
| https://github.com/python/cpython/pull/27695/files#diff-517a9c73ccad12dd55f0beb930416fee87cade1b2abbb84a73ed8e39cc696c39 |
|
| https://github.com/python/cpython/pull/27695/files#diff-517a9c73ccad12dd55f0beb930416fee87cade1b2abbb84a73ed8e39cc696c39 |
|
| https://github.com/python/cpython/pull/27695/files#diff-517a9c73ccad12dd55f0beb930416fee87cade1b2abbb84a73ed8e39cc696c39 |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |