René's URL Explorer Experiment


Title: gh-149534: Fix unification of `defaultdict` and `frozendict` with `|` by sobolevn · Pull Request #149539 · python/cpython · GitHub

Open Graph Title: gh-149534: Fix unification of `defaultdict` and `frozendict` with `|` by sobolevn · Pull Request #149539 · python/cpython

X Title: gh-149534: Fix unification of `defaultdict` and `frozendict` with `|` by sobolevn · Pull Request #149539 · python/cpython

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

Open Graph Description: I have a lot of free time today 😆 defaultdict | frozendict returns dict, not defaultdict #149534

X Description: I have a lot of free time today 😆 defaultdict | frozendict returns dict, not defaultdict #149534

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

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:9a1eb89c-c0bf-e772-4ae7-8f77facb6005
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9108:2EB1A9:CA9C5D:113CE1F:6A55B631
html-safe-nonceaa3693dbf76f9a19322856eab69ad3021bfc81bc03bda1b625edfa786cd620c5
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MTA4OjJFQjFBOTpDQTlDNUQ6MTEzQ0UxRjo2QTU1QjYzMSIsInZpc2l0b3JfaWQiOiIzMDM1NzMyMjY1ODM1ODA0MjA5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac1d997e6bf18e4fe7897cb80a1bd70f83303c792611400ce9b40c5324d027aa3e
hovercard-subject-tagpull_request:3647672649
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/149539/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/2364b3a908464c0f5ae2112e7e26b0fa4815c35f815ef49ebbd7646a1f36034a/python/cpython/pull/149539
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/2364b3a908464c0f5ae2112e7e26b0fa4815c35f815ef49ebbd7646a1f36034a/python/cpython/pull/149539
og:image:altI have a lot of free time today 😆 defaultdict | frozendict returns dict, not defaultdict #149534
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamesobolevn
hostnamegithub.com
expected-hostnamegithub.com
Noneb5665c84831ed9ac4fb79519c16c9c5580ba8092fb8bb6e3e72972ec7197348e
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
release653fccf1e27344851c0d3de3fa6faa526197f072
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/149539#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F149539
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%2F149539
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/149539
Reloadhttps://github.com/python/cpython/pull/149539
Reloadhttps://github.com/python/cpython/pull/149539
Please reload this pagehttps://github.com/python/cpython/pull/149539
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/149539
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 35k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 73.8k 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
sobolevnhttps://github.com/sobolevn
python:mainhttps://github.com/python/cpython/tree/main
sobolevn:issue-149534https://github.com/sobolevn/cpython/tree/issue-149534
Conversationhttps://github.com/python/cpython/pull/149539
Commits3 (3)https://github.com/python/cpython/pull/149539/commits
Checkshttps://github.com/python/cpython/pull/149539/checks
Files changedhttps://github.com/python/cpython/pull/149539/files
gh-149534: Fix unification of defaultdict and frozendict with |https://github.com/python/cpython/pull/149539#top
sobolevnhttps://github.com/sobolevn
python:mainhttps://github.com/python/cpython/tree/main
sobolevn:issue-149534https://github.com/sobolevn/cpython/tree/issue-149534
https://github.com/sobolevn
sobolevnhttps://github.com/sobolevn
May 8, 2026https://github.com/python/cpython/pull/149539#issue-4404218089
Please reload this pagehttps://github.com/python/cpython/pull/149539
defaultdict | frozendict returns dict, not defaultdict #149534https://github.com/python/cpython/issues/149534
Please reload this pagehttps://github.com/python/cpython/pull/149539
https://github.com/sobolevn
pythongh-149534https://github.com/python/cpython/issues/149534
: Fix unification ofhttps://github.com/python/cpython/pull/149539/commits/3d3e59502135563435d98d731d5b34aa610f5119
defaultdicthttps://github.com/python/cpython/pull/149539/commits/3d3e59502135563435d98d731d5b34aa610f5119
andhttps://github.com/python/cpython/pull/149539/commits/3d3e59502135563435d98d731d5b34aa610f5119
frozendicthttps://github.com/python/cpython/pull/149539/commits/3d3e59502135563435d98d731d5b34aa610f5119
wi…https://github.com/python/cpython/pull/149539/commits/3d3e59502135563435d98d731d5b34aa610f5119
3d3e595https://github.com/python/cpython/pull/149539/commits/3d3e59502135563435d98d731d5b34aa610f5119
https://github.com/sobolevn
sobolevnhttps://github.com/sobolevn
JelleZijlstrahttps://github.com/JelleZijlstra
May 8, 2026 06:12https://github.com/python/cpython/pull/149539#event-25292923378
https://github.com/sobolevn
sobolevnhttps://github.com/sobolevn
rhettingerhttps://github.com/rhettinger
code ownerhttps://github.com/python/cpython/blob/4ae1a260c7dbada6db099d3335a784b5aae91723/.github/CODEOWNERS#L414
May 8, 2026 06:12https://github.com/python/cpython/pull/149539#event-25292923858
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
May 8, 2026 https://github.com/python/cpython/pull/149539#ref-issue-4403905405
defaultdict | frozendict returns dict, not defaultdict #149534 https://github.com/python/cpython/issues/149534
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
May 8, 2026https://github.com/python/cpython/pull/149539#event-25292926530
https://github.com/sobolevn
sobolevnhttps://github.com/sobolevn
needs backport to 3.15 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.15%22
May 8, 2026https://github.com/python/cpython/pull/149539#event-25292990515
https://github.com/JelleZijlstra
JelleZijlstrahttps://github.com/JelleZijlstra
May 8, 2026 https://github.com/python/cpython/pull/149539#pullrequestreview-4252296166
View reviewed changes https://github.com/python/cpython/pull/149539/files/3d3e59502135563435d98d731d5b34aa610f5119
Lib/test/test_defaultdict.pyhttps://github.com/python/cpython/pull/149539/files/3d3e59502135563435d98d731d5b34aa610f5119#diff-1479e559ea879375f1d75518e71605ca5af40868c2573dee04f362202d325288
Please reload this pagehttps://github.com/python/cpython/pull/149539
https://github.com/sobolevn
sobolevnhttps://github.com/sobolevn
May 9, 2026https://github.com/python/cpython/pull/149539#issuecomment-4411773091
@JelleZijlstrahttps://github.com/JelleZijlstra
cpython/Objects/typeobject.chttps://github.com/python/cpython/blob/354ef336e4cd48cf0c02bc9a0c642adf5d543184/Objects/typeobject.c#L10531-L10539
354ef33https://github.com/python/cpython/commit/354ef336e4cd48cf0c02bc9a0c642adf5d543184
@vstinnerhttps://github.com/vstinner
Please reload this pagehttps://github.com/python/cpython/pull/149539
https://github.com/JelleZijlstra
JelleZijlstrahttps://github.com/JelleZijlstra
May 9, 2026https://github.com/python/cpython/pull/149539#issuecomment-4412608214
Please reload this pagehttps://github.com/python/cpython/pull/149539
https://github.com/sobolevn
sobolevnhttps://github.com/sobolevn
May 9, 2026https://github.com/python/cpython/pull/149539#issuecomment-4412729543
@JelleZijlstrahttps://github.com/JelleZijlstra
Please reload this pagehttps://github.com/python/cpython/pull/149539
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
May 21, 2026https://github.com/python/cpython/pull/149539#issuecomment-4508932206
@serhiy-storchakahttps://github.com/serhiy-storchaka
7278904https://github.com/python/cpython/commit/727890410b71de200f2ab918827bb97e7a3c5a2b
Please reload this pagehttps://github.com/python/cpython/pull/149539
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
May 21, 2026 https://github.com/python/cpython/pull/149539#pullrequestreview-4337516900
View reviewed changes https://github.com/python/cpython/pull/149539/files/3d3e59502135563435d98d731d5b34aa610f5119
Misc/NEWS.d/next/Library/2026-05-08-09-11-48.gh-issue-149534.Tw7eeY.rsthttps://github.com/python/cpython/pull/149539/files/3d3e59502135563435d98d731d5b34aa610f5119#diff-8fdebca2e176f7e5d7564bd9b8e224cee2ac74e5be7f6ef6a3aa29971ccee8b6
Please reload this pagehttps://github.com/python/cpython/pull/149539
sobolevnhttps://github.com/sobolevn
June 1, 2026 15:26https://github.com/python/cpython/pull/149539#commits-pushed-0ff2215
https://github.com/sobolevn
Merge branch 'main' into issue-149534https://github.com/python/cpython/pull/149539/commits/0ff2215f9223a1ce117cb66a8d59b5198ba3d5ed
0ff2215https://github.com/python/cpython/pull/149539/commits/0ff2215f9223a1ce117cb66a8d59b5198ba3d5ed
https://github.com/sobolevn
Address reviewhttps://github.com/python/cpython/pull/149539/commits/f5a7471ef0668ecd23c7c30270f37983f8b9ecf7
f5a7471https://github.com/python/cpython/pull/149539/commits/f5a7471ef0668ecd23c7c30270f37983f8b9ecf7
https://github.com/sobolevn
sobolevnhttps://github.com/sobolevn
Jun 1, 2026https://github.com/python/cpython/pull/149539#issuecomment-4592601403
Please reload this pagehttps://github.com/python/cpython/pull/149539
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Jun 1, 2026 https://github.com/python/cpython/pull/149539#pullrequestreview-4401512068
View reviewed changes https://github.com/python/cpython/pull/149539/files/f5a7471ef0668ecd23c7c30270f37983f8b9ecf7
vstinnerhttps://github.com/vstinner
https://github.com/python/cpython/pull/149539#pullrequestreview-4401512068
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/149539
Lib/test/test_defaultdict.pyhttps://github.com/python/cpython/pull/149539/files/3d3e59502135563435d98d731d5b34aa610f5119#diff-1479e559ea879375f1d75518e71605ca5af40868c2573dee04f362202d325288
Please reload this pagehttps://github.com/python/cpython/pull/149539
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 core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Jun 1, 2026https://github.com/python/cpython/pull/149539#event-26189004549
https://github.com/sobolevn
sobolevnhttps://github.com/sobolevn
cc02693https://github.com/python/cpython/commit/cc0269334fdf7be12de79316882befd5cdb4cf7e
Jun 1, 2026https://github.com/python/cpython/pull/149539#event-26189225645
Please reload this pagehttps://github.com/python/cpython/pull/149539
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
Jun 1, 2026https://github.com/python/cpython/pull/149539#event-26189229668
https://github.com/apps/miss-islington-app
miss-islington-apphttps://github.com/apps/miss-islington-app
Jun 1, 2026https://github.com/python/cpython/pull/149539#issuecomment-4593018505
@sobolevnhttps://github.com/sobolevn
Please reload this pagehttps://github.com/python/cpython/pull/149539
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Jun 1, 2026https://github.com/python/cpython/pull/149539#issuecomment-4593021788
GH-150709https://github.com/python/cpython/pull/150709
3.15 branchhttps://github.com/python/cpython/tree/3.15
Please reload this pagehttps://github.com/python/cpython/pull/149539
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
needs backport to 3.15 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.15%22
Jun 1, 2026https://github.com/python/cpython/pull/149539#event-26189247991
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
Jun 1, 2026https://github.com/python/cpython/pull/149539#issuecomment-4594169774
Please reload this pagehttps://github.com/python/cpython/pull/149539
sobolevnhttps://github.com/sobolevn
Jun 1, 2026 https://github.com/python/cpython/pull/149539#ref-commit-3a12e9f
https://github.com/miss-islington
https://github.com/sobolevn
[3.15]https://github.com/python/cpython/commit/3a12e9f5242c1a2d9ce34ed04159f501b3795bba
gh-149534https://github.com/python/cpython/issues/149534
: Fix unification ofhttps://github.com/python/cpython/commit/3a12e9f5242c1a2d9ce34ed04159f501b3795bba
defaultdicthttps://github.com/python/cpython/commit/3a12e9f5242c1a2d9ce34ed04159f501b3795bba
andhttps://github.com/python/cpython/commit/3a12e9f5242c1a2d9ce34ed04159f501b3795bba
frozendicthttps://github.com/python/cpython/commit/3a12e9f5242c1a2d9ce34ed04159f501b3795bba
w…https://github.com/python/cpython/commit/3a12e9f5242c1a2d9ce34ed04159f501b3795bba
3a12e9fhttps://github.com/python/cpython/commit/3a12e9f5242c1a2d9ce34ed04159f501b3795bba
GH-149539https://github.com/python/cpython/pull/149539
#150709https://github.com/python/cpython/pull/150709
gh-149534https://github.com/python/cpython/issues/149534
GH-149539https://github.com/python/cpython/pull/149539
cc02693https://github.com/python/cpython/commit/cc0269334fdf7be12de79316882befd5cdb4cf7e
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%2F149539
https://github.com/JelleZijlstra
JelleZijlstra https://github.com/JelleZijlstra
https://github.com/python/cpython/pull/149539/files/3d3e59502135563435d98d731d5b34aa610f5119
https://github.com/vstinner
vstinner https://github.com/vstinner
https://github.com/python/cpython/pull/149539/files/f5a7471ef0668ecd23c7c30270f37983f8b9ecf7
https://github.com/rhettinger
rhettinger https://github.com/rhettinger
Please reload this pagehttps://github.com/python/cpython/pull/149539
https://github.com/sobolevn
https://github.com/JelleZijlstra
https://github.com/vstinner
https://github.com/serhiy-storchaka
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.