René's URL Explorer Experiment


Title: bpo-42064: Optimise `sqlite3` state access, part 1 by erlend-aasland · Pull Request #27273 · python/cpython · GitHub

Open Graph Title: bpo-42064: Optimise `sqlite3` state access, part 1 by erlend-aasland · Pull Request #27273 · python/cpython

X Title: bpo-42064: Optimise `sqlite3` state access, part 1 by erlend-aasland · Pull Request #27273 · python/cpython

Description: Prepare for module state: Add "get state by defining class" and "get state by module def" stubs Add AC defining class when needed Add state pointer to connection context Pass state as argument to ...

Open Graph Description: Prepare for module state: Add "get state by defining class" and "get state by module def" stubs Add AC defining class when needed Add state pointer to connection context Pass s...

X Description: Prepare for module state: Add "get state by defining class" and "get state by module def" stubs Add AC defining class when needed Add state pointer to connectio...

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

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:2ea5830f-d0e9-5fdd-6ae7-6722bc521315
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA24C:291671:C5650D:11084A1:6969F47D
html-safe-noncec4d9add6b4b9f40c5b7b90bc30aea46d2ec9c9a4fa78d2de825c770595bf65f1
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMjRDOjI5MTY3MTpDNTY1MEQ6MTEwODRBMTo2OTY5RjQ3RCIsInZpc2l0b3JfaWQiOiI1MDk5Nzg2OTk4NzI5Mjc0NDkzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac976339ad855662d419557fd2bec66cb6a058e6d9e8e113ae871e835a8cf865e7
hovercard-subject-tagpull_request:693891367
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///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/cpython/27273/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/dad5c53eada656b5799f1d288fafe649c20def8298b223453b74fd6255d2cbf6/python/cpython/pull/27273
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/dad5c53eada656b5799f1d288fafe649c20def8298b223453b74fd6255d2cbf6/python/cpython/pull/27273
og:image:altPrepare for module state: Add "get state by defining class" and "get state by module def" stubs Add AC defining class when needed Add state pointer to connection context Pass s...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameerlend-aasland
hostnamegithub.com
expected-hostnamegithub.com
None7b32f1c7c4549428ee399213e8345494fc55b5637195d3fc5f493657579235e8
turbo-cache-controlno-preview
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
releasebdde15ad1b403e23b08bbd89b53fbe6bdf688cad
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/27273#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F27273
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%2F27273
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%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/27273
Reloadhttps://github.com/python/cpython/pull/27273
Reloadhttps://github.com/python/cpython/pull/27273
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/27273
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/27273
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
Jump to bottomhttps://github.com/python/cpython/pull/27273#issue-comment-box
miss-islingtonhttps://github.com/miss-islington
python:mainhttps://github.com/python/cpython/tree/main
erlend-aasland:sqlite-ac-defining-classhttps://github.com/erlend-aasland/cpython/tree/sqlite-ac-defining-class
bpo-42064: Optimise sqlite3 state access, part 1 https://github.com/python/cpython/pull/27273#top
miss-islingtonhttps://github.com/miss-islington
python:mainhttps://github.com/python/cpython/tree/main
erlend-aasland:sqlite-ac-defining-classhttps://github.com/erlend-aasland/cpython/tree/sqlite-ac-defining-class
Conversation 6 https://github.com/python/cpython/pull/27273
Commits 6 https://github.com/python/cpython/pull/27273/commits
Checks 0 https://github.com/python/cpython/pull/27273/checks
Files changed https://github.com/python/cpython/pull/27273/files
Please reload this pagehttps://github.com/python/cpython/pull/27273
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
https://github.com/erlend-aasland
erlend-aaslandhttps://github.com/erlend-aasland
Jul 20, 2021https://github.com/python/cpython/pull/27273#issue-949141703
Please reload this pagehttps://github.com/python/cpython/pull/27273
https://bugs.python.org/issue42064https://bugs.python.org/issue42064
Please reload this pagehttps://github.com/python/cpython/pull/27273
July 20, 2021 23:52https://github.com/python/cpython/pull/27273#commits-pushed-fa4bb9e
bpo-42064: Optimise sqlite3 state access using defining classhttps://github.com/python/cpython/pull/27273/commits/fa4bb9e068097115dfd1888f90dd35070d69aac5
fa4bb9ehttps://github.com/python/cpython/pull/27273/commits/fa4bb9e068097115dfd1888f90dd35070d69aac5
Pass state as argument to new_statement_cache()https://github.com/python/cpython/pull/27273/commits/7f4cce3e5891f8e0f157c4709d669e5f08c2924a
7f4cce3https://github.com/python/cpython/pull/27273/commits/7f4cce3e5891f8e0f157c4709d669e5f08c2924a
https://github.com/erlend-aasland
erlend-aaslandhttps://github.com/erlend-aasland
berkerpeksaghttps://github.com/berkerpeksag
code ownerhttps://github.com/python/cpython/blob/3b56b3b97d91e2b412ce1b2bcaddcd43ef3d223b/.github/CODEOWNERS#L99
July 20, 2021 22:03https://github.com/python/cpython/pull/27273#event-5046971464
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Jul 20, 2021https://github.com/python/cpython/pull/27273#event-5046971600
https://github.com/the-knights-who-say-ni
the-knights-who-say-nihttps://github.com/the-knights-who-say-ni
CLA signed https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22CLA%20signed%22
Jul 20, 2021https://github.com/python/cpython/pull/27273#event-5046971637
https://github.com/erlend-aasland
erlend-aaslandhttps://github.com/erlend-aasland
encukouhttps://github.com/encukou
July 20, 2021 22:03https://github.com/python/cpython/pull/27273#event-5046972393
https://github.com/erlend-aasland
erlend-aaslandhttps://github.com/erlend-aasland
skip news https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22
Jul 20, 2021https://github.com/python/cpython/pull/27273#event-5046974730
https://github.com/encukou
encukouhttps://github.com/encukou
Jul 27, 2021https://github.com/python/cpython/pull/27273#issuecomment-887556348
Please reload this pagehttps://github.com/python/cpython/pull/27273
https://github.com/erlend-aasland
erlend-aaslandhttps://github.com/erlend-aasland
Jul 27, 2021https://github.com/python/cpython/pull/27273#issuecomment-887847790
Please reload this pagehttps://github.com/python/cpython/pull/27273
Please reload this pagehttps://github.com/python/cpython/pull/27273
https://github.com/erlend-aasland
erlend-aaslandhttps://github.com/erlend-aasland
July 27, 2021 21:29https://github.com/python/cpython/pull/27273#event-5076789531
July 28, 2021 00:02https://github.com/python/cpython/pull/27273#commits-pushed-dfbe989
Merge branch 'main' into sqlite-ac-defining-classhttps://github.com/python/cpython/pull/27273/commits/dfbe9891a06615476f4db16876899d44598743f8
dfbe989https://github.com/python/cpython/pull/27273/commits/dfbe9891a06615476f4db16876899d44598743f8
pythonGH-27156https://github.com/python/cpython/pull/27156
Update clinichttps://github.com/python/cpython/pull/27273/commits/5f54745e6f2c2d16aa2b128a82fa6514c1898cc4
5f54745https://github.com/python/cpython/pull/27273/commits/5f54745e6f2c2d16aa2b128a82fa6514c1898cc4
Keep a pointer to the state in connection contexhttps://github.com/python/cpython/pull/27273/commits/317625d6338470ee22722e36891280b1d9b2bde0
317625dhttps://github.com/python/cpython/pull/27273/commits/317625d6338470ee22722e36891280b1d9b2bde0
https://github.com/erlend-aasland
erlend-aaslandhttps://github.com/erlend-aasland
July 27, 2021 23:41https://github.com/python/cpython/pull/27273#event-5077161564
https://github.com/erlend-aasland
erlend-aaslandhttps://github.com/erlend-aasland
Jul 27, 2021https://github.com/python/cpython/pull/27273#issuecomment-887903973
Please reload this pagehttps://github.com/python/cpython/pull/27273
https://github.com/encukou
Merge branch 'main' ofhttps://github.com/python/cpython/pull/27273/commits/fec618ea3e33dd3cd2776bc29e255dd1a538de1a
https://github.com/python/cpythonhttps://github.com/python/cpython
into sqlite-…https://github.com/python/cpython/pull/27273/commits/fec618ea3e33dd3cd2776bc29e255dd1a538de1a
fec618ehttps://github.com/python/cpython/pull/27273/commits/fec618ea3e33dd3cd2776bc29e255dd1a538de1a
https://github.com/encukou
encukouhttps://github.com/encukou
Jul 29, 2021 https://github.com/python/cpython/pull/27273#pullrequestreview-717839999
View reviewed changes https://github.com/python/cpython/pull/27273/files/fec618ea3e33dd3cd2776bc29e255dd1a538de1a
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Jul 29, 2021https://github.com/python/cpython/pull/27273#event-5084730144
https://github.com/encukou
encukouhttps://github.com/encukou
Jul 29, 2021https://github.com/python/cpython/pull/27273#issuecomment-888935102
Please reload this pagehttps://github.com/python/cpython/pull/27273
https://github.com/encukou
encukouhttps://github.com/encukou
🤖 automerge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22%3Arobot%3A%20automerge%22
Jul 29, 2021https://github.com/python/cpython/pull/27273#event-5084732419
https://github.com/miss-islington
miss-islingtonhttps://github.com/miss-islington
Jul 29, 2021https://github.com/python/cpython/pull/27273#issuecomment-888954883
@erlend-aaslandhttps://github.com/erlend-aasland
Please reload this pagehttps://github.com/python/cpython/pull/27273
https://github.com/miss-islington
miss-islingtonhttps://github.com/miss-islington
d542742https://github.com/python/cpython/commit/d542742128b634264d5b6796297613975211b43b
Jul 29, 2021https://github.com/python/cpython/pull/27273#event-5084871677
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
Jul 29, 2021https://github.com/python/cpython/pull/27273#event-5084871823
https://github.com/erlend-aasland
erlend-aaslandhttps://github.com/erlend-aasland
Jul 29, 2021https://github.com/python/cpython/pull/27273#issuecomment-888974757
Please reload this pagehttps://github.com/python/cpython/pull/27273
https://github.com/erlend-aasland
erlend-aaslandhttps://github.com/erlend-aasland
July 29, 2021 09:52https://github.com/python/cpython/pull/27273#event-5085025677
erlend-aaslandhttps://github.com/erlend-aasland
Jul 29, 2021 https://github.com/python/cpython/pull/27273#ref-commit-d6934f9
Merge branch 'main' into sqlite-serializehttps://github.com/erlend-aasland/cpython/commit/d6934f9ee39a4a115b47609ecd20b7b27acbbc7e
d6934f9https://github.com/erlend-aasland/cpython/commit/d6934f9ee39a4a115b47609ecd20b7b27acbbc7e
pythonGH-27273https://github.com/python/cpython/pull/27273
erlend-aaslandhttps://github.com/erlend-aasland
Jul 29, 2021 https://github.com/python/cpython/pull/27273#ref-commit-0cd5a67
Merge branch 'main' into sqlite-rollbackhttps://github.com/erlend-aasland/cpython/commit/0cd5a678768399fb2eb9982cdd1af01c7727f425
0cd5a67https://github.com/erlend-aasland/cpython/commit/0cd5a678768399fb2eb9982cdd1af01c7727f425
pythonGH-27273https://github.com/python/cpython/pull/27273
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F27273
https://github.com/encukou
encukou https://github.com/encukou
https://github.com/python/cpython/pull/27273/files/fec618ea3e33dd3cd2776bc29e255dd1a538de1a
https://github.com/berkerpeksag
berkerpeksag https://github.com/berkerpeksag
skip news https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22
Please reload this pagehttps://github.com/python/cpython/pull/27273
https://github.com/erlend-aasland
https://github.com/encukou
https://github.com/miss-islington
https://github.com/the-knights-who-say-ni
https://github.com/bedevere-bot
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.