René's URL Explorer Experiment


Title: gh-145876: Do not mask AttributeErrors raised during dictionary unpacking by serhiy-storchaka · Pull Request #145906 · python/cpython · GitHub

Open Graph Title: gh-145876: Do not mask AttributeErrors raised during dictionary unpacking by serhiy-storchaka · Pull Request #145906 · python/cpython

X Title: gh-145876: Do not mask AttributeErrors raised during dictionary unpacking by serhiy-storchaka · Pull Request #145906 · python/cpython

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

Open Graph Description: AttributeErrors raised in keys() or __getitem__() during dictionary unpacking ({**mymapping} or func(**mymapping)) are no longer masked by TypeError. Issue: AttributeErrors raised in .keys() or ....

X Description: AttributeErrors raised in keys() or __getitem__() during dictionary unpacking ({**mymapping} or func(**mymapping)) are no longer masked by TypeError. Issue: AttributeErrors raised in .keys() or ....

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

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:e0a0e616-3d92-d2c7-28a3-cc35e477cf3c
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9A88:56830:67853:8A9DE:6A515FA0
html-safe-nonceee62f7c5b209ba819f507a95af35ef2493e665be88f00d113b3b900f2d790126
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QTg4OjU2ODMwOjY3ODUzOjhBOURFOjZBNTE1RkEwIiwidmlzaXRvcl9pZCI6Ijc2MzU5ODg4NjA4OTIxNzYyODgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmace630c358eff89d416244179942b75e87de9f52911e8475c46cadcda455d66a89
hovercard-subject-tagpull_request:3394502241
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/145906/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/552ab09470f18bbbd59d1ce4ea7eb4b4547ec35697069d2ab963e156860c912e/python/cpython/pull/145906
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/552ab09470f18bbbd59d1ce4ea7eb4b4547ec35697069d2ab963e156860c912e/python/cpython/pull/145906
og:image:altAttributeErrors raised in keys() or __getitem__() during dictionary unpacking ({**mymapping} or func(**mymapping)) are no longer masked by TypeError. Issue: AttributeErrors raised in .keys() or ....
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameserhiy-storchaka
hostnamegithub.com
expected-hostnamegithub.com
Noneb9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb
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
release2eeb434949a926fad21064b4d395a54759f7a0b2
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/145906#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F145906
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%2F145906
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/145906
Reloadhttps://github.com/python/cpython/pull/145906
Reloadhttps://github.com/python/cpython/pull/145906
Please reload this pagehttps://github.com/python/cpython/pull/145906
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/145906
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
serhiy-storchakahttps://github.com/serhiy-storchaka
python:mainhttps://github.com/python/cpython/tree/main
serhiy-storchaka:unpack-dict-pass-errorshttps://github.com/serhiy-storchaka/cpython/tree/unpack-dict-pass-errors
Conversationhttps://github.com/python/cpython/pull/145906
Commits3 (3)https://github.com/python/cpython/pull/145906/commits
Checkshttps://github.com/python/cpython/pull/145906/checks
Files changedhttps://github.com/python/cpython/pull/145906/files
gh-145876: Do not mask AttributeErrors raised during dictionary unpackinghttps://github.com/python/cpython/pull/145906#top
serhiy-storchakahttps://github.com/serhiy-storchaka
python:mainhttps://github.com/python/cpython/tree/main
serhiy-storchaka:unpack-dict-pass-errorshttps://github.com/serhiy-storchaka/cpython/tree/unpack-dict-pass-errors
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
Mar 13, 2026https://github.com/python/cpython/pull/145906#issue-4070395176
Please reload this pagehttps://github.com/python/cpython/pull/145906
AttributeErrors raised in .keys() or .__getitem__() during {**mymapping}are incorrectly masked #145876https://github.com/python/cpython/issues/145876
Please reload this pagehttps://github.com/python/cpython/pull/145906
https://github.com/serhiy-storchaka
pythongh-145876https://github.com/python/cpython/issues/145876
: Do not mask AttributeErrors raised during dictionary…https://github.com/python/cpython/pull/145906/commits/3a3190f5907de6c093495f702bb8b857290b600a
3a3190fhttps://github.com/python/cpython/pull/145906/commits/3a3190f5907de6c093495f702bb8b857290b600a
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
markshannonhttps://github.com/markshannon
code ownerhttps://github.com/python/cpython/blob/6d1e9ceed3e70ebc39953f5ad4f20702ffa32119/.github/CODEOWNERS#L226
March 13, 2026 11:03https://github.com/python/cpython/pull/145906#event-23541932183
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Mar 13, 2026 https://github.com/python/cpython/pull/145906#ref-issue-4066343151
AttributeErrors raised in .keys() or .__getitem__() during {**mymapping}are incorrectly masked #145876 https://github.com/python/cpython/issues/145876
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
Mar 13, 2026https://github.com/python/cpython/pull/145906#event-23541935660
https://github.com/NickCrews
NickCrewshttps://github.com/NickCrews
Mar 18, 2026 https://github.com/python/cpython/pull/145906#pullrequestreview-3971002107
View reviewed changes https://github.com/python/cpython/pull/145906/files/3a3190f5907de6c093495f702bb8b857290b600a
NickCrewshttps://github.com/NickCrews
https://github.com/python/cpython/pull/145906#pullrequestreview-3971002107
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/145906
Python/bytecodes.chttps://github.com/python/cpython/pull/145906/files/3a3190f5907de6c093495f702bb8b857290b600a#diff-729a985b0cb8b431cb291f1edb561bbbfea22e3f8c262451cd83328a0936a342
NickCrewshttps://github.com/NickCrews
Mar 18, 2026https://github.com/python/cpython/pull/145906#discussion_r2956385125
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/145906
serhiy-storchakahttps://github.com/serhiy-storchaka
Mar 19, 2026https://github.com/python/cpython/pull/145906#discussion_r2958343757
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/145906
Python/bytecodes.chttps://github.com/python/cpython/pull/145906/files/3a3190f5907de6c093495f702bb8b857290b600a#diff-729a985b0cb8b431cb291f1edb561bbbfea22e3f8c262451cd83328a0936a342
NickCrewshttps://github.com/NickCrews
Mar 18, 2026https://github.com/python/cpython/pull/145906#discussion_r2956391236
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/145906
serhiy-storchakahttps://github.com/serhiy-storchaka
Mar 19, 2026https://github.com/python/cpython/pull/145906#discussion_r2958373652
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/145906
Python/bytecodes.chttps://github.com/python/cpython/pull/145906/files/3a3190f5907de6c093495f702bb8b857290b600a#diff-729a985b0cb8b431cb291f1edb561bbbfea22e3f8c262451cd83328a0936a342
NickCrewshttps://github.com/NickCrews
Mar 18, 2026https://github.com/python/cpython/pull/145906#discussion_r2956394364
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/145906
Python/ceval.chttps://github.com/python/cpython/pull/145906/files/3a3190f5907de6c093495f702bb8b857290b600a#diff-c22186367cbe20233e843261998dc027ae5f1f8c0d2e778abfa454ae74cc59de
NickCrewshttps://github.com/NickCrews
Mar 18, 2026https://github.com/python/cpython/pull/145906#discussion_r2956396977
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/145906
https://github.com/serhiy-storchaka
Merge branch 'main' into unpack-dict-pass-errorshttps://github.com/python/cpython/pull/145906/commits/e02b4d2e4a15e0060ce84afd8c05a80c0c6fd802
e02b4d2https://github.com/python/cpython/pull/145906/commits/e02b4d2e4a15e0060ce84afd8c05a80c0c6fd802
https://github.com/NickCrews
NickCrewshttps://github.com/NickCrews
Mar 23, 2026https://github.com/python/cpython/pull/145906#issuecomment-4112854560
@serhiy-storchakahttps://github.com/serhiy-storchaka
the pyperformance repohttps://github.com/python/pyperformance/tree/main/pyperformance/data-files/benchmarks
this PRhttps://github.com/python/pyperformance/pull/447/
Please reload this pagehttps://github.com/python/cpython/pull/145906
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
Mar 26, 2026https://github.com/python/cpython/pull/145906#issuecomment-4134691745
Please reload this pagehttps://github.com/python/cpython/pull/145906
https://github.com/serhiy-storchaka
Merge branch 'main' into unpack-dict-pass-errorshttps://github.com/python/cpython/pull/145906/commits/172b210ba7a951760439086012768d0bfcb4a2d4
172b210https://github.com/python/cpython/pull/145906/commits/172b210ba7a951760439086012768d0bfcb4a2d4
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
March 26, 2026 13:20https://github.com/python/cpython/pull/145906#event-23933078170
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
0e54305https://github.com/python/cpython/commit/0e543055b01203b7a26424675913de3284375a40
Mar 26, 2026https://github.com/python/cpython/pull/145906#event-23934261222
Please reload this pagehttps://github.com/python/cpython/pull/145906
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
Mar 26, 2026https://github.com/python/cpython/pull/145906#event-23934265353
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
March 26, 2026 15:12https://github.com/python/cpython/pull/145906#event-23937755283
https://github.com/NickCrews
NickCrewshttps://github.com/NickCrews
Mar 26, 2026https://github.com/python/cpython/pull/145906#issuecomment-4136352134
Please reload this pagehttps://github.com/python/cpython/pull/145906
https://github.com/pablogsal
pablogsalhttps://github.com/pablogsal
Apr 4, 2026 https://github.com/python/cpython/pull/145906#ref-pullrequest-3716338400
gh-130273: Fix traceback color output with unicode characters #142529 https://github.com/python/cpython/pull/142529
clin1234https://github.com/clin1234
Apr 16, 2026 https://github.com/python/cpython/pull/145906#ref-commit-5329e60
https://github.com/serhiy-storchaka
https://github.com/clin1234
pythongh-145876https://github.com/python/cpython/issues/145876
: Do not mask AttributeErrors raised during dictionary…https://github.com/clin1234/cpython/commit/5329e60242c27c428b7a207202ff33c423645329
5329e60https://github.com/clin1234/cpython/commit/5329e60242c27c428b7a207202ff33c423645329
pythonGH-145906https://github.com/python/cpython/pull/145906
ljfphttps://github.com/ljfp
Apr 25, 2026 https://github.com/python/cpython/pull/145906#ref-commit-53f4cfd
https://github.com/serhiy-storchaka
https://github.com/ljfp
pythongh-145876https://github.com/python/cpython/issues/145876
: Do not mask AttributeErrors raised during dictionary…https://github.com/ljfp/cpython/commit/53f4cfd0362433f1300cc565ddce133a320d7c32
53f4cfdhttps://github.com/ljfp/cpython/commit/53f4cfd0362433f1300cc565ddce133a320d7c32
pythonGH-145906https://github.com/python/cpython/pull/145906
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%2F145906
https://github.com/markshannon
markshannon https://github.com/markshannon
https://github.com/NickCrews
NickCrews https://github.com/NickCrews
https://github.com/python/cpython/pull/145906/files/3a3190f5907de6c093495f702bb8b857290b600a
Please reload this pagehttps://github.com/python/cpython/pull/145906
https://github.com/serhiy-storchaka
https://github.com/NickCrews
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.