René's URL Explorer Experiment


Title: bpo-27645: Supporting native backup facility of SQLite by lelit · Pull Request #377 · python/cpython · GitHub

Open Graph Title: bpo-27645: Supporting native backup facility of SQLite by lelit · Pull Request #377 · python/cpython

X Title: bpo-27645: Supporting native backup facility of SQLite by lelit · Pull Request #377 · python/cpython

Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.

Open Graph Description: This is a set of patches (rebased on current master) that adds a new backup() method on sqlite3.Connection. https://bugs.python.org/issue27645

X Description: This is a set of patches (rebased on current master) that adds a new backup() method on sqlite3.Connection. https://bugs.python.org/issue27645

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

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/commits(.:format)
route-controllerpull_requests
route-actioncommits
fetch-noncev2:9291d76a-cb31-d32a-d294-3f9aed561f11
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id94CC:197995:27AA28E:35EE34F:6B0042C3
html-safe-nonce7dcd6ebea5f5bc2ddd3eff21cfa60fb149e6fb54188fe6e75016a3232a010544
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NENDOjE5Nzk5NToyN0FBMjhFOjM1RUUzNEY6NkIwMDQyQzMiLCJ2aXNpdG9yX2lkIjoiODgxMDI4ODY4OTc4MDM3NjI2MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac5fa043539e2a2204974a54ea1de231f2285c060622b79d0f7bf2e0b251429d8b
hovercard-subject-tagpull_request:108497551
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/commits
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python/cpython/pull/377/commits
twitter:imagehttps://opengraph.githubassets.com/f132c2f7d6f6428022d2130ed6d79c80c7c1e7b2c0b7f11e9c86a845239c2485/python/cpython/pull/377
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/f132c2f7d6f6428022d2130ed6d79c80c7c1e7b2c0b7f11e9c86a845239c2485/python/cpython/pull/377
og:image:altThis is a set of patches (rebased on current master) that adds a new backup() method on sqlite3.Connection. https://bugs.python.org/issue27645
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamelelit
hostnamegithub.com
expected-hostnamegithub.com
None7d0829bbde9e48b2486cb5dd6d147896eb01d32134627091f818958a935ef3f0
turbo-cache-controlno-cache
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
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasef3f3a43ca095cdea3abbb394112e971f9fdb94fa
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/python/cpython/pull/377/commits#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F377%2Fcommits
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%2Fpython%2Fcpython%2Fpull%2F377%2Fcommits
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%2Fcommits&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/377/commits
Reloadhttps://github.com/python/cpython/pull/377/commits
Reloadhttps://github.com/python/cpython/pull/377/commits
pythonhttps://github.com/python
cpythonhttps://github.com/python/cpython
Codehttps://github.com/python/cpython
Issues5k+ (5k+)https://github.com/python/cpython/issues
Pull requests2.4k (2.4k)https://github.com/python/cpython/pulls
Actionshttps://github.com/python/cpython/actions
Projectshttps://github.com/python/cpython/projects
Security and qualityhttps://github.com/python/cpython/security
Insightshttps://github.com/python/cpython/insights
https://github.com/python/cpython
lelithttps://github.com/lelit
python:masterhttps://github.com/python/cpython/tree/master
lelit:sqlite-backup-api-v2https://github.com/lelit/cpython/tree/sqlite-backup-api-v2
Conversationhttps://github.com/python/cpython/pull/377
Commits21 (21)https://github.com/python/cpython/pull/377/commits
Checkshttps://github.com/python/cpython/pull/377/checks
Files changedhttps://github.com/python/cpython/pull/377/files
bpo-27645: Supporting native backup facility of SQLitehttps://github.com/python/cpython/pull/377/commits#top
lelithttps://github.com/lelit
python:masterhttps://github.com/python/cpython/tree/master
lelit:sqlite-backup-api-v2https://github.com/lelit/cpython/tree/sqlite-backup-api-v2
Expose the SQLite Online Backup API as Connection.backup()https://github.com/python/cpython/pull/377/commits/d93391dd8ff0f99fa8c39eeb439a42a5f23e368c
https://github.com/lelit
lelithttps://github.com/python/cpython/commits?author=lelit
d93391dhttps://github.com/python/cpython/pull/377/commits/d93391dd8ff0f99fa8c39eeb439a42a5f23e368c
https://github.com/python/cpython/tree/d93391dd8ff0f99fa8c39eeb439a42a5f23e368c
Preliminary documentation for sqlite3.Connection.backup()https://github.com/python/cpython/pull/377/commits/7b1277aca09d9806c6921b7f5f152321914cac71
https://github.com/lelit
lelithttps://github.com/python/cpython/commits?author=lelit
7b1277ahttps://github.com/python/cpython/pull/377/commits/7b1277aca09d9806c6921b7f5f152321914cac71
https://github.com/python/cpython/tree/7b1277aca09d9806c6921b7f5f152321914cac71
Reduce code nesting depth by using a finally label, as other functions dohttps://github.com/python/cpython/pull/377/commits/1258d47ccfab132d89e57e41f56cf287d5b64f47
https://github.com/lelit
lelithttps://github.com/python/cpython/commits?author=lelit
1258d47https://github.com/python/cpython/pull/377/commits/1258d47ccfab132d89e57e41f56cf287d5b64f47
https://github.com/python/cpython/tree/1258d47ccfab132d89e57e41f56cf287d5b64f47
Wrap SQLite calls between BEGIN_ALLOW_THREADS and END_ALLOW_THREADShttps://github.com/python/cpython/pull/377/commits/d8ea4574e06463e88e6b987d58a18c79ac15713c
https://github.com/lelit
lelithttps://github.com/python/cpython/commits?author=lelit
d8ea457https://github.com/python/cpython/pull/377/commits/d8ea4574e06463e88e6b987d58a18c79ac15713c
https://github.com/python/cpython/tree/d8ea4574e06463e88e6b987d58a18c79ac15713c
Add an entry in Misc/NEWS related to issue #27645https://github.com/python/cpython/pull/377/commits/35fa0ad29bce33b33d02d31bafa2cc71811083b2
https://github.com/lelit
lelithttps://github.com/python/cpython/commits?author=lelit
35fa0adhttps://github.com/python/cpython/pull/377/commits/35fa0ad29bce33b33d02d31bafa2cc71811083b2
https://github.com/python/cpython/tree/35fa0ad29bce33b33d02d31bafa2cc71811083b2
Remove extraneous entry introduced in d4439d6c5b2a67682f3db74d395c603f7861361dhttps://github.com/python/cpython/pull/377/commits/c1af5a01684fcc933b0a25be0cf38c0db6be7a04
https://github.com/lelit
lelithttps://github.com/python/cpython/commits?author=lelit
c1af5a0https://github.com/python/cpython/pull/377/commits/c1af5a01684fcc933b0a25be0cf38c0db6be7a04
https://github.com/python/cpython/tree/c1af5a01684fcc933b0a25be0cf38c0db6be7a04
Attribute the patch to myselfhttps://github.com/python/cpython/pull/377/commits/c07d9820e16f1ffc86e4760371d473bdffba5737
https://github.com/lelit
lelithttps://github.com/python/cpython/commits?author=lelit
c07d982https://github.com/python/cpython/pull/377/commits/c07d9820e16f1ffc86e4760371d473bdffba5737
https://github.com/python/cpython/tree/c07d9820e16f1ffc86e4760371d473bdffba5737
Make pages and progress keyword-only args in sqlite3.Connection.backup()https://github.com/python/cpython/pull/377/commits/cdc7edad9d004c000f734ccdc865025988c58a9f
https://github.com/lelit
lelithttps://github.com/python/cpython/commits?author=lelit
cdc7edahttps://github.com/python/cpython/pull/377/commits/cdc7edad9d004c000f734ccdc865025988c58a9f
https://github.com/python/cpython/tree/cdc7edad9d004c000f734ccdc865025988c58a9f
Remove reference to SQLite docs in Connection.backup() documentationhttps://github.com/python/cpython/pull/377/commits/6d3eb699a7c31c0628faeac9657c19f7d1d7e3a0
https://github.com/lelit
lelithttps://github.com/python/cpython/commits?author=lelit
6d3eb69https://github.com/python/cpython/pull/377/commits/6d3eb699a7c31c0628faeac9657c19f7d1d7e3a0
https://github.com/python/cpython/tree/6d3eb699a7c31c0628faeac9657c19f7d1d7e3a0
Use f-string in the sqlite3.Connection.backup() examplehttps://github.com/python/cpython/pull/377/commits/6fab17ff713a959bbf969e7e90a65ab1e3022f8f
https://github.com/lelit
lelithttps://github.com/python/cpython/commits?author=lelit
6fab17fhttps://github.com/python/cpython/pull/377/commits/6fab17ff713a959bbf969e7e90a65ab1e3022f8f
https://github.com/python/cpython/tree/6fab17ff713a959bbf969e7e90a65ab1e3022f8f
Explicitly mark sqlite3.Connection.backup() as added in v3.7https://github.com/python/cpython/pull/377/commits/6449f3d5ece3139d8b5846cca7788d18391d3b68
https://github.com/lelit
lelithttps://github.com/python/cpython/commits?author=lelit
6449f3dhttps://github.com/python/cpython/pull/377/commits/6449f3d5ece3139d8b5846cca7788d18391d3b68
https://github.com/python/cpython/tree/6449f3d5ece3139d8b5846cca7788d18391d3b68
Reduce chances of cluttering future “git blame”https://github.com/python/cpython/pull/377/commits/f84d3757694a533aecd842a7ea1300b5fcc5f567
https://github.com/lelit
lelithttps://github.com/python/cpython/commits?author=lelit
f84d375https://github.com/python/cpython/pull/377/commits/f84d3757694a533aecd842a7ea1300b5fcc5f567
https://github.com/python/cpython/tree/f84d3757694a533aecd842a7ea1300b5fcc5f567
Parametrize the name of the database involved in the backuphttps://github.com/python/cpython/pull/377/commits/e748942e759e8d2a456719225f52e47808404f2a
https://github.com/lelit
lelithttps://github.com/python/cpython/commits?author=lelit
e748942https://github.com/python/cpython/pull/377/commits/e748942e759e8d2a456719225f52e47808404f2a
https://github.com/python/cpython/tree/e748942e759e8d2a456719225f52e47808404f2a
Test propagation of exception raised in backup's progress callbackhttps://github.com/python/cpython/pull/377/commits/426dad457ee1691327b4a49474b714ee7e0e64cf
https://github.com/lelit
lelithttps://github.com/python/cpython/commits?author=lelit
426dad4https://github.com/python/cpython/pull/377/commits/426dad457ee1691327b4a49474b714ee7e0e64cf
https://github.com/python/cpython/tree/426dad457ee1691327b4a49474b714ee7e0e64cf
Use a better name for variablehttps://github.com/python/cpython/pull/377/commits/895726b9fe8e2e054ef9326392afbf47ae2eac87
https://github.com/lelit
lelithttps://github.com/python/cpython/commits?author=lelit
895726bhttps://github.com/python/cpython/pull/377/commits/895726b9fe8e2e054ef9326392afbf47ae2eac87
https://github.com/python/cpython/tree/895726b9fe8e2e054ef9326392afbf47ae2eac87
Do not delay next iteration if the result was OKhttps://github.com/python/cpython/pull/377/commits/77dfa3932a092cbbdacbfde26ac9719f42a201eb
https://github.com/lelit
lelithttps://github.com/python/cpython/commits?author=lelit
77dfa39https://github.com/python/cpython/pull/377/commits/77dfa3932a092cbbdacbfde26ac9719f42a201eb
https://github.com/python/cpython/tree/77dfa3932a092cbbdacbfde26ac9719f42a201eb
Omit the backup method when underlying SQLite library is older than 3.6.11https://github.com/python/cpython/pull/377/commits/71726bae6a689be7a5991fb10c000a44c3dad036
https://github.com/lelit
lelithttps://github.com/python/cpython/commits?author=lelit
71726bahttps://github.com/python/cpython/pull/377/commits/71726bae6a689be7a5991fb10c000a44c3dad036
https://github.com/python/cpython/tree/71726bae6a689be7a5991fb10c000a44c3dad036
Assert that the non-mandatory arguments are keyword-onlyhttps://github.com/python/cpython/pull/377/commits/c4fbc20334b2bea01ca0f878ba9c084d710f4c19
https://github.com/lelit
lelithttps://github.com/python/cpython/commits?author=lelit
c4fbc20https://github.com/python/cpython/pull/377/commits/c4fbc20334b2bea01ca0f878ba9c084d710f4c19
https://github.com/python/cpython/tree/c4fbc20334b2bea01ca0f878ba9c084d710f4c19
Pass also the current status of the ongoing backup to the progress callbackhttps://github.com/python/cpython/pull/377/commits/ff1609bea60a3d0f6c91959dadb8b4bd57807d87
https://github.com/lelit
lelithttps://github.com/python/cpython/commits?author=lelit
ff1609bhttps://github.com/python/cpython/pull/377/commits/ff1609bea60a3d0f6c91959dadb8b4bd57807d87
https://github.com/python/cpython/tree/ff1609bea60a3d0f6c91959dadb8b4bd57807d87
Slightly different way handling backup step's error statehttps://github.com/python/cpython/pull/377/commits/d688f20dc624e2d235bab5e8cc307e08f00e2176
https://github.com/lelit
lelithttps://github.com/python/cpython/commits?author=lelit
d688f20https://github.com/python/cpython/pull/377/commits/d688f20dc624e2d235bab5e8cc307e08f00e2176
https://github.com/python/cpython/tree/d688f20dc624e2d235bab5e8cc307e08f00e2176
When an error occurs while the backup is going on, remove the target filehttps://github.com/python/cpython/pull/377/commits/4ed6c3142732222c0f959ca385e9144937f59522
https://github.com/lelit
lelithttps://github.com/python/cpython/commits?author=lelit
4ed6c31https://github.com/python/cpython/pull/377/commits/4ed6c3142732222c0f959ca385e9144937f59522
https://github.com/python/cpython/tree/4ed6c3142732222c0f959ca385e9144937f59522
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.