René's URL Explorer Experiment


Title: gh-146076: Fix crash when a `ZoneInfo` subclass is missing a `_weak_cache` by StanFromIreland · Pull Request #146082 · python/cpython · GitHub

Open Graph Title: gh-146076: Fix crash when a `ZoneInfo` subclass is missing a `_weak_cache` by StanFromIreland · Pull Request #146082 · python/cpython

X Title: gh-146076: Fix crash when a `ZoneInfo` subclass is missing a `_weak_cache` by StanFromIreland · Pull Request #146082 · python/cpython

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

Open Graph Description: Issue: Segfault from NULL dereference in _zoneinfo.get_weak_cache #146076

X Description: Issue: Segfault from NULL dereference in _zoneinfo.get_weak_cache #146076

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

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:9c5f6ae5-5c37-7e74-f5ca-2badd9986314
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD4CA:24AB16:54A5C:72347:6A515A9B
html-safe-nonce2c3ec38c93ea7b4cedcf86b2c9de569f5b51c452db081c85bd28f9186f3fda88
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENENBOjI0QUIxNjo1NEE1Qzo3MjM0Nzo2QTUxNUE5QiIsInZpc2l0b3JfaWQiOiIzMjk3MTM3NDk2MDI3MTI2NDI3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac2b2e81ddb272e9214facadddbbe9808da6ef60eaba6dc209831277f9e310590d
hovercard-subject-tagpull_request:3411632512
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/146082/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/88be8de12dfc360d7abe7111a086aba61791a02c6be7ce16112e0765e7691740/python/cpython/pull/146082
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/88be8de12dfc360d7abe7111a086aba61791a02c6be7ce16112e0765e7691740/python/cpython/pull/146082
og:image:altIssue: Segfault from NULL dereference in _zoneinfo.get_weak_cache #146076
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameStanFromIreland
hostnamegithub.com
expected-hostnamegithub.com
None6f17634ed2af1d116850bcea6c63a70a4d72970f33ade1dd3eef3764b7e16994
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
release2d32229a0a79708ee9a4f132f630b36d58b4495a
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/146082#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F146082
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
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
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
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/enterprise/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%2F146082
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/146082
Reloadhttps://github.com/python/cpython/pull/146082
Reloadhttps://github.com/python/cpython/pull/146082
Please reload this pagehttps://github.com/python/cpython/pull/146082
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/146082
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 35k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 73.7k 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.3k https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects https://github.com/python/cpython/projects
Security and quality 0 https://github.com/python/cpython/security
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 and quality https://github.com/python/cpython/security
Insights https://github.com/python/cpython/pulse
kumaraditya303https://github.com/kumaraditya303
python:mainhttps://github.com/python/cpython/tree/main
StanFromIreland:zoneinfo-weakcacghehttps://github.com/StanFromIreland/cpython/tree/zoneinfo-weakcacghe
Conversationhttps://github.com/python/cpython/pull/146082
Commits2 (2)https://github.com/python/cpython/pull/146082/commits
Checkshttps://github.com/python/cpython/pull/146082/checks
Files changedhttps://github.com/python/cpython/pull/146082/files
gh-146076: Fix crash when a ZoneInfo subclass is missing a _weak_cachehttps://github.com/python/cpython/pull/146082#top
kumaraditya303https://github.com/kumaraditya303
python:mainhttps://github.com/python/cpython/tree/main
StanFromIreland:zoneinfo-weakcacghehttps://github.com/StanFromIreland/cpython/tree/zoneinfo-weakcacghe
https://github.com/StanFromIreland
StanFromIrelandhttps://github.com/StanFromIreland
Mar 17, 2026https://github.com/python/cpython/pull/146082#issue-4091108781
Please reload this pagehttps://github.com/python/cpython/pull/146082
Segfault from NULL dereference in _zoneinfo.get_weak_cache #146076https://github.com/python/cpython/issues/146076
Please reload this pagehttps://github.com/python/cpython/pull/146082
StanFromIrelandhttps://github.com/StanFromIreland
March 17, 2026 20:42https://github.com/python/cpython/pull/146082#commits-pushed-ff46d2d
https://github.com/StanFromIreland
Fix crash when a ZoneInfo subclass is missing a _weak_cachehttps://github.com/python/cpython/pull/146082/commits/ff46d2dfa9875d8950e5addce6b7b475e5d09311
ff46d2dhttps://github.com/python/cpython/pull/146082/commits/ff46d2dfa9875d8950e5addce6b7b475e5d09311
https://github.com/StanFromIreland
Fix crash when a ZoneInfo subclass is missing a _weak_cachehttps://github.com/python/cpython/pull/146082/commits/78215735050dcb5e0b44948966f08523744be433
7821573https://github.com/python/cpython/pull/146082/commits/78215735050dcb5e0b44948966f08523744be433
https://github.com/StanFromIreland
StanFromIrelandhttps://github.com/StanFromIreland
pgansslehttps://github.com/pganssle
code ownerhttps://github.com/python/cpython/blob/e0f7c1097e19b6f5c2399e19f283c9fb373c243f/.github/CODEOWNERS#L435
March 17, 2026 20:46https://github.com/python/cpython/pull/146082#event-23658826995
https://github.com/StanFromIreland
StanFromIrelandhttps://github.com/StanFromIreland
serhiy-storchakahttps://github.com/serhiy-storchaka
March 17, 2026 20:46https://github.com/python/cpython/pull/146082#event-23658829111
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Mar 17, 2026 https://github.com/python/cpython/pull/146082#ref-issue-4090517920
Segfault from NULL dereference in _zoneinfo.get_weak_cache #146076 https://github.com/python/cpython/issues/146076
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Mar 17, 2026https://github.com/python/cpython/pull/146082#event-23658830433
https://github.com/kumaraditya303
kumaraditya303https://github.com/kumaraditya303
Mar 18, 2026 https://github.com/python/cpython/pull/146082#pullrequestreview-3965293845
View reviewed changes https://github.com/python/cpython/pull/146082/files/78215735050dcb5e0b44948966f08523744be433
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
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
Mar 18, 2026https://github.com/python/cpython/pull/146082#event-23669012482
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
Mar 18, 2026 https://github.com/python/cpython/pull/146082#pullrequestreview-3966451893
View reviewed changes https://github.com/python/cpython/pull/146082/files/78215735050dcb5e0b44948966f08523744be433
serhiy-storchakahttps://github.com/serhiy-storchaka
https://github.com/python/cpython/pull/146082#pullrequestreview-3966451893
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/146082
https://github.com/kumaraditya303
kumaraditya303https://github.com/kumaraditya303
3b06d68https://github.com/python/cpython/commit/3b06d68d8a3cc1f37359af1d7ebb3d09e1222296
Mar 18, 2026https://github.com/python/cpython/pull/146082#event-23681126466
Please reload this pagehttps://github.com/python/cpython/pull/146082
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
Mar 18, 2026https://github.com/python/cpython/pull/146082#event-23681128810
https://github.com/StanFromIreland
StanFromIrelandhttps://github.com/StanFromIreland
March 18, 2026 13:46https://github.com/python/cpython/pull/146082#event-23682728426
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
needs backport to 3.13 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.13%22
needs backport to 3.14 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.14%22
Mar 18, 2026https://github.com/python/cpython/pull/146082#event-23685275891
https://github.com/apps/miss-islington-app
miss-islington-apphttps://github.com/apps/miss-islington-app
Mar 18, 2026https://github.com/python/cpython/pull/146082#issuecomment-4083203125
@StanFromIrelandhttps://github.com/StanFromIreland
@kumaraditya303https://github.com/kumaraditya303
Please reload this pagehttps://github.com/python/cpython/pull/146082
https://github.com/apps/miss-islington-app
miss-islington-apphttps://github.com/apps/miss-islington-app
Mar 18, 2026https://github.com/python/cpython/pull/146082#issuecomment-4083203250
@StanFromIrelandhttps://github.com/StanFromIreland
@kumaraditya303https://github.com/kumaraditya303
Please reload this pagehttps://github.com/python/cpython/pull/146082
miss-islingtonhttps://github.com/miss-islington
Mar 18, 2026 https://github.com/python/cpython/pull/146082#ref-commit-31b2e50
https://github.com/StanFromIreland
https://github.com/miss-islington
pythongh-146076https://github.com/python/cpython/issues/146076
: Fix crash when ahttps://github.com/miss-islington/cpython/commit/31b2e5065e0ec4397087c7499af8ccaf45985b80
ZoneInfohttps://github.com/miss-islington/cpython/commit/31b2e5065e0ec4397087c7499af8ccaf45985b80
subclass is missing a `_…https://github.com/miss-islington/cpython/commit/31b2e5065e0ec4397087c7499af8ccaf45985b80
31b2e50https://github.com/miss-islington/cpython/commit/31b2e5065e0ec4397087c7499af8ccaf45985b80
pythonGH-146082https://github.com/python/cpython/pull/146082
3b06d68https://github.com/miss-islington/cpython/commit/3b06d68d8a3cc1f37359af1d7ebb3d09e1222296
miss-islingtonhttps://github.com/miss-islington
Mar 18, 2026 https://github.com/python/cpython/pull/146082#ref-commit-c9ac70f
https://github.com/StanFromIreland
https://github.com/miss-islington
pythongh-146076https://github.com/python/cpython/issues/146076
: Fix crash when ahttps://github.com/miss-islington/cpython/commit/c9ac70fc456f5a8b7e8d217c27f3f6f6f782c967
ZoneInfohttps://github.com/miss-islington/cpython/commit/c9ac70fc456f5a8b7e8d217c27f3f6f6f782c967
subclass is missing a `_…https://github.com/miss-islington/cpython/commit/c9ac70fc456f5a8b7e8d217c27f3f6f6f782c967
c9ac70fhttps://github.com/miss-islington/cpython/commit/c9ac70fc456f5a8b7e8d217c27f3f6f6f782c967
pythonGH-146082https://github.com/python/cpython/pull/146082
3b06d68https://github.com/miss-islington/cpython/commit/3b06d68d8a3cc1f37359af1d7ebb3d09e1222296
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Mar 18, 2026https://github.com/python/cpython/pull/146082#issuecomment-4083205561
GH-146115https://github.com/python/cpython/pull/146115
3.13 branchhttps://github.com/python/cpython/tree/3.13
Please reload this pagehttps://github.com/python/cpython/pull/146082
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
needs backport to 3.13 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.13%22
Mar 18, 2026https://github.com/python/cpython/pull/146082#event-23685289005
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Mar 18, 2026https://github.com/python/cpython/pull/146082#issuecomment-4083206247
GH-146116https://github.com/python/cpython/pull/146116
3.14 branchhttps://github.com/python/cpython/tree/3.14
Please reload this pagehttps://github.com/python/cpython/pull/146082
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
needs backport to 3.14 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.14%22
Mar 18, 2026https://github.com/python/cpython/pull/146082#event-23685292646
serhiy-storchakahttps://github.com/serhiy-storchaka
Mar 18, 2026 https://github.com/python/cpython/pull/146082#ref-commit-450e9ea
https://github.com/miss-islington
https://github.com/StanFromIreland
[3.13]https://github.com/python/cpython/commit/450e9eaf735dc40faf536b337e6c784e2f9050e3
gh-146076https://github.com/python/cpython/issues/146076
: Fix crash when ahttps://github.com/python/cpython/commit/450e9eaf735dc40faf536b337e6c784e2f9050e3
ZoneInfohttps://github.com/python/cpython/commit/450e9eaf735dc40faf536b337e6c784e2f9050e3
subclass is missing a `…https://github.com/python/cpython/commit/450e9eaf735dc40faf536b337e6c784e2f9050e3
450e9eahttps://github.com/python/cpython/commit/450e9eaf735dc40faf536b337e6c784e2f9050e3
GH-146082https://github.com/python/cpython/pull/146082
GH-146115https://github.com/python/cpython/pull/146115
3b06d68https://github.com/python/cpython/commit/3b06d68d8a3cc1f37359af1d7ebb3d09e1222296
serhiy-storchakahttps://github.com/serhiy-storchaka
Mar 18, 2026 https://github.com/python/cpython/pull/146082#ref-commit-6980b94
https://github.com/miss-islington
https://github.com/StanFromIreland
[3.14]https://github.com/python/cpython/commit/6980b94c3a25a69278ef9b348fabec7831651e8e
gh-146076https://github.com/python/cpython/issues/146076
: Fix crash when ahttps://github.com/python/cpython/commit/6980b94c3a25a69278ef9b348fabec7831651e8e
ZoneInfohttps://github.com/python/cpython/commit/6980b94c3a25a69278ef9b348fabec7831651e8e
subclass is missing a `…https://github.com/python/cpython/commit/6980b94c3a25a69278ef9b348fabec7831651e8e
6980b94https://github.com/python/cpython/commit/6980b94c3a25a69278ef9b348fabec7831651e8e
GH-146082https://github.com/python/cpython/pull/146082
GH-146116https://github.com/python/cpython/pull/146116
3b06d68https://github.com/python/cpython/commit/3b06d68d8a3cc1f37359af1d7ebb3d09e1222296
https://github.com/StanFromIreland
StanFromIrelandhttps://github.com/StanFromIreland
Mar 18, 2026https://github.com/python/cpython/pull/146082#issuecomment-4083750523
Please reload this pagehttps://github.com/python/cpython/pull/146082
ljfphttps://github.com/ljfp
Apr 25, 2026 https://github.com/python/cpython/pull/146082#ref-commit-a597827
https://github.com/StanFromIreland
https://github.com/ljfp
pythongh-146076https://github.com/python/cpython/issues/146076
: Fix crash when ahttps://github.com/ljfp/cpython/commit/a597827085b6131c2984dfac4060c70e5b37ff22
ZoneInfohttps://github.com/ljfp/cpython/commit/a597827085b6131c2984dfac4060c70e5b37ff22
subclass is missing a `_…https://github.com/ljfp/cpython/commit/a597827085b6131c2984dfac4060c70e5b37ff22
a597827https://github.com/ljfp/cpython/commit/a597827085b6131c2984dfac4060c70e5b37ff22
python#146082https://github.com/python/cpython/pull/146082
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
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%2F146082
https://github.com/serhiy-storchaka
serhiy-storchaka https://github.com/serhiy-storchaka
https://github.com/python/cpython/pull/146082/files/78215735050dcb5e0b44948966f08523744be433
https://github.com/kumaraditya303
kumaraditya303 https://github.com/kumaraditya303
https://github.com/python/cpython/pull/146082/files/78215735050dcb5e0b44948966f08523744be433
https://github.com/pganssle
pganssle https://github.com/pganssle
Please reload this pagehttps://github.com/python/cpython/pull/146082
https://github.com/StanFromIreland
https://github.com/serhiy-storchaka
https://github.com/kumaraditya303
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.