René's URL Explorer Experiment


Title: Make Session Context `pyclass` frozen so interior mutability is only managed by rust by ntjohnson1 · Pull Request #1248 · apache/datafusion-python · GitHub

Open Graph Title: Make Session Context `pyclass` frozen so interior mutability is only managed by rust by ntjohnson1 · Pull Request #1248 · apache/datafusion-python

X Title: Make Session Context `pyclass` frozen so interior mutability is only managed by rust by ntjohnson1 · Pull Request #1248 · apache/datafusion-python

Description: Which issue does this PR close? Happy to write a more focussed issue since this is just specific to SessionContext. Closes #366 Rationale for this change The issues provides a minimal repro for my ...

Open Graph Description: Which issue does this PR close? Happy to write a more focussed issue since this is just specific to SessionContext. Closes #366 Rationale for this change The issues provides a minimal repro for my ...

X Description: Which issue does this PR close? Happy to write a more focussed issue since this is just specific to SessionContext. Closes #366 Rationale for this change The issues provides a minimal repro for my ...

Opengraph URL: https://github.com/apache/datafusion-python/pull/1248

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:ac7ec044-ad5f-b94a-8c05-0e338bb4a60c
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idACFA:2D10BB:2C9A4FA:3DF7AD2:6977B3D3
html-safe-nonce7bca5f5b72059125d6d2cd7f6100a31be6710a39b8e3a2d77ca954ee05478d5f
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQ0ZBOjJEMTBCQjoyQzlBNEZBOjNERjdBRDI6Njk3N0IzRDMiLCJ2aXNpdG9yX2lkIjoiODg4Mjc5MTIyNTIyNDU3MzkwNyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac2f2f2262fac3a8d7aa0f31a6d75935d1ebd92c9053dc433831bab4fa01cbd223
hovercard-subject-tagpull_request:2849936902
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/apache/datafusion-python/1248/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/9180bb9460f94292ce6fbe71319f4c63bf12fd64b844cd300428f347bdb4d276/apache/datafusion-python/pull/1248
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/9180bb9460f94292ce6fbe71319f4c63bf12fd64b844cd300428f347bdb4d276/apache/datafusion-python/pull/1248
og:image:altWhich issue does this PR close? Happy to write a more focussed issue since this is just specific to SessionContext. Closes #366 Rationale for this change The issues provides a minimal repro for my ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamentjohnson1
hostnamegithub.com
expected-hostnamegithub.com
None831218810e1b66a41a0626c8c15f7f47625846d9a7516c7f43cfc2c61effad83
turbo-cache-controlno-preview
go-importgithub.com/apache/datafusion-python git https://github.com/apache/datafusion-python.git
octolytics-dimension-user_id47359
octolytics-dimension-user_loginapache
octolytics-dimension-repository_id515951203
octolytics-dimension-repository_nwoapache/datafusion-python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id515951203
octolytics-dimension-repository_network_root_nwoapache/datafusion-python
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
releaseb37ffa89d073c0d4a6f07ff42d59120741a74955
ui-targetcanary-1
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/apache/datafusion-python/pull/1248#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fapache%2Fdatafusion-python%2Fpull%2F1248
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%2Fapache%2Fdatafusion-python%2Fpull%2F1248
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=apache%2Fdatafusion-python
Reloadhttps://github.com/apache/datafusion-python/pull/1248
Reloadhttps://github.com/apache/datafusion-python/pull/1248
Reloadhttps://github.com/apache/datafusion-python/pull/1248
apache https://github.com/apache
datafusion-pythonhttps://github.com/apache/datafusion-python
Notifications https://github.com/login?return_to=%2Fapache%2Fdatafusion-python
Fork 142 https://github.com/login?return_to=%2Fapache%2Fdatafusion-python
Star 553 https://github.com/login?return_to=%2Fapache%2Fdatafusion-python
Code https://github.com/apache/datafusion-python
Issues 80 https://github.com/apache/datafusion-python/issues
Pull requests 27 https://github.com/apache/datafusion-python/pulls
Actions https://github.com/apache/datafusion-python/actions
Security 0 https://github.com/apache/datafusion-python/security
Insights https://github.com/apache/datafusion-python/pulse
Code https://github.com/apache/datafusion-python
Issues https://github.com/apache/datafusion-python/issues
Pull requests https://github.com/apache/datafusion-python/pulls
Actions https://github.com/apache/datafusion-python/actions
Security https://github.com/apache/datafusion-python/security
Insights https://github.com/apache/datafusion-python/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fapache%2Fdatafusion-python%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fapache%2Fdatafusion-python%2Fissues%2Fnew%2Fchoose
Jump to bottomhttps://github.com/apache/datafusion-python/pull/1248#issue-comment-box
timsaucerhttps://github.com/timsaucer
apache:mainhttps://github.com/apache/datafusion-python/tree/main
rerun-io:nick/threadinghttps://github.com/rerun-io/datafusion-python/tree/nick/threading
Make Session Context pyclass frozen so interior mutability is only managed by rust https://github.com/apache/datafusion-python/pull/1248#top
timsaucerhttps://github.com/timsaucer
apache:mainhttps://github.com/apache/datafusion-python/tree/main
rerun-io:nick/threadinghttps://github.com/rerun-io/datafusion-python/tree/nick/threading
Conversation 7 https://github.com/apache/datafusion-python/pull/1248
Commits 2 https://github.com/apache/datafusion-python/pull/1248/commits
Checks 16 https://github.com/apache/datafusion-python/pull/1248/checks
Files changed https://github.com/apache/datafusion-python/pull/1248/files
Please reload this pagehttps://github.com/apache/datafusion-python/pull/1248
https://github.co/hiddenchars
https://github.com/apache/datafusion-python/pull/{{ revealButtonHref }}
https://github.com/ntjohnson1
ntjohnson1https://github.com/ntjohnson1
Sep 22, 2025https://github.com/apache/datafusion-python/pull/1248#issue-3441457650
#366https://github.com/apache/datafusion-python/issues/366
Please reload this pagehttps://github.com/apache/datafusion-python/pull/1248
ntjohnson1https://github.com/ntjohnson1
September 22, 2025 10:48https://github.com/apache/datafusion-python/pull/1248#commits-pushed-4e2fca0
https://github.com/ntjohnson1
Remove unneeded mut selfhttps://github.com/apache/datafusion-python/pull/1248/commits/4e2fca009822413d709e173f1a9054cb1e21c139
4e2fca0https://github.com/apache/datafusion-python/pull/1248/commits/4e2fca009822413d709e173f1a9054cb1e21c139
https://github.com/ntjohnson1
Consider frozen and rely on underlying rust classes to manage mutabilityhttps://github.com/apache/datafusion-python/pull/1248/commits/7464e8f61d771c5f7068d18413a15bb26d7080a4
7464e8fhttps://github.com/apache/datafusion-python/pull/1248/commits/7464e8f61d771c5f7068d18413a15bb26d7080a4
https://github.com/kylebarron
kylebarronhttps://github.com/kylebarron
Sep 23, 2025 https://github.com/apache/datafusion-python/pull/1248#pullrequestreview-3255717047
View reviewed changes https://github.com/apache/datafusion-python/pull/1248/files/7464e8f61d771c5f7068d18413a15bb26d7080a4
kylebarronhttps://github.com/kylebarron
https://github.com/apache/datafusion-python/pull/1248#pullrequestreview-3255717047
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/apache/datafusion-python/pull/1248
https://github.com/kylebarron
kylebarronhttps://github.com/kylebarron
Sep 23, 2025https://github.com/apache/datafusion-python/pull/1248#issuecomment-3322028973
Please reload this pagehttps://github.com/apache/datafusion-python/pull/1248
https://github.com/ntjohnson1
ntjohnson1https://github.com/ntjohnson1
Sep 23, 2025https://github.com/apache/datafusion-python/pull/1248#event-19862673080
https://github.com/ntjohnson1
ntjohnson1https://github.com/ntjohnson1
Sep 23, 2025https://github.com/apache/datafusion-python/pull/1248#issuecomment-3323400431
Please reload this pagehttps://github.com/apache/datafusion-python/pull/1248
https://github.com/kylebarron
kylebarronhttps://github.com/kylebarron
Sep 23, 2025https://github.com/apache/datafusion-python/pull/1248#issuecomment-3324279334
Please reload this pagehttps://github.com/apache/datafusion-python/pull/1248
Please reload this pagehttps://github.com/apache/datafusion-python/pull/1248
https://github.com/kylebarron
kylebarronhttps://github.com/kylebarron
Sep 23, 2025 https://github.com/apache/datafusion-python/pull/1248#pullrequestreview-3258301575
View reviewed changes https://github.com/apache/datafusion-python/pull/1248/files/7464e8f61d771c5f7068d18413a15bb26d7080a4
https://github.com/ntjohnson1
ntjohnson1https://github.com/ntjohnson1
Sep 23, 2025https://github.com/apache/datafusion-python/pull/1248#issuecomment-3324296817
note under the code blockhttps://pyo3.rs/main/class.html#frozen-classes-opting-out-of-interior-mutability
Please reload this pagehttps://github.com/apache/datafusion-python/pull/1248
https://github.com/ntjohnson1
ntjohnson1https://github.com/ntjohnson1
Sep 23, 2025 https://github.com/apache/datafusion-python/pull/1248#ref-issue-3445564540
Mark pyclasses frozen if possible. #1250 https://github.com/apache/datafusion-python/issues/1250
https://github.com/timsaucer
timsaucerhttps://github.com/timsaucer
Sep 24, 2025 https://github.com/apache/datafusion-python/pull/1248#pullrequestreview-3262732157
View reviewed changes https://github.com/apache/datafusion-python/pull/1248/files/7464e8f61d771c5f7068d18413a15bb26d7080a4
timsaucerhttps://github.com/timsaucer
https://github.com/apache/datafusion-python/pull/1248#pullrequestreview-3262732157
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/apache/datafusion-python/pull/1248
https://github.com/timsaucer
timsaucerhttps://github.com/timsaucer
f08d5b0https://github.com/apache/datafusion-python/commit/f08d5b04c9ae6988e436896b061696d419d9c6d0
Sep 24, 2025https://github.com/apache/datafusion-python/pull/1248#event-19891800333
Please reload this pagehttps://github.com/apache/datafusion-python/pull/1248
https://github.com/timsaucer
timsaucerhttps://github.com/timsaucer
Sep 24, 2025https://github.com/apache/datafusion-python/pull/1248#issuecomment-3328250545
@ntjohnson1https://github.com/ntjohnson1
@kylebarronhttps://github.com/kylebarron
Please reload this pagehttps://github.com/apache/datafusion-python/pull/1248
Rerun PRs rerun-io/opensource#2 https://github.com/rerun-io/opensource/issues/2
Make most pyclasses frozen #1252 https://github.com/apache/datafusion-python/pull/1252
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fapache%2Fdatafusion-python%2Fpull%2F1248
https://github.com/timsaucer
timsaucer https://github.com/timsaucer
https://github.com/apache/datafusion-python/pull/1248/files/7464e8f61d771c5f7068d18413a15bb26d7080a4
https://github.com/kylebarron
kylebarron https://github.com/kylebarron
https://github.com/apache/datafusion-python/pull/1248/files/7464e8f61d771c5f7068d18413a15bb26d7080a4
Already Borrowed Error When using SessionContext from Multiple Threads https://github.com/apache/datafusion-python/issues/366
Please reload this pagehttps://github.com/apache/datafusion-python/pull/1248
https://github.com/ntjohnson1
https://github.com/kylebarron
https://github.com/timsaucer
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.