René's URL Explorer Experiment


Title: gh-103791: Make contextlib.suppress also act on exceptions within an ExceptionGroup by ambv · Pull Request #103792 · python/cpython · GitHub

Open Graph Title: gh-103791: Make contextlib.suppress also act on exceptions within an ExceptionGroup by ambv · Pull Request #103792 · python/cpython

X Title: gh-103791: Make contextlib.suppress also act on exceptions within an ExceptionGroup by ambv · Pull Request #103792 · python/cpython

Description: Issue: contextlib.suppress does not support ExceptionGroups #103791

Open Graph Description: Issue: contextlib.suppress does not support ExceptionGroups #103791

X Description: Issue: contextlib.suppress does not support ExceptionGroups #103791

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

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:471cea73-e0cc-5dc2-846b-25fbaf8ea2db
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idCD42:2BBD61:C3A62D:109011A:696AC090
html-safe-nonceb7a1f2d1b4e2eabeb1506386077bf78cd6b1fa8ea3c5d26919ca4dd830095017
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRDQyOjJCQkQ2MTpDM0E2MkQ6MTA5MDExQTo2OTZBQzA5MCIsInZpc2l0b3JfaWQiOiI3NDU4ODU2NTE4NDcyNjY0NDgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac0e1d32ccecb726635c5106b4ba1eb7d15f2138078a935fcd99c49cdad6c618ac
hovercard-subject-tagpull_request:1326084911
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/103792/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/76f99f9b3a35c291e619dc7c7d21c38966e7de67cb85b78418f483cf81db56eb/python/cpython/pull/103792
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/76f99f9b3a35c291e619dc7c7d21c38966e7de67cb85b78418f483cf81db56eb/python/cpython/pull/103792
og:image:altIssue: contextlib.suppress does not support ExceptionGroups #103791
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameambv
hostnamegithub.com
expected-hostnamegithub.com
None986b6a1d774985095564e64d6963d11f094da3d0e2bfda2ab1a27d63662eb033
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
release89ad2112b9c4e11df6a0c13c8c1f8eedd36b0977
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/103792#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F103792
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%2F103792
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/103792
Reloadhttps://github.com/python/cpython/pull/103792
Reloadhttps://github.com/python/cpython/pull/103792
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/103792
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/103792
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/103792#issue-comment-box
ambvhttps://github.com/ambv
python:mainhttps://github.com/python/cpython/tree/main
ambv:gh-103791https://github.com/ambv/cpython/tree/gh-103791
gh-103791: Make contextlib.suppress also act on exceptions within an ExceptionGroup https://github.com/python/cpython/pull/103792#top
ambvhttps://github.com/ambv
python:mainhttps://github.com/python/cpython/tree/main
ambv:gh-103791https://github.com/ambv/cpython/tree/gh-103791
Conversation 8 https://github.com/python/cpython/pull/103792
Commits 6 https://github.com/python/cpython/pull/103792/commits
Checks 0 https://github.com/python/cpython/pull/103792/checks
Files changed https://github.com/python/cpython/pull/103792/files
Please reload this pagehttps://github.com/python/cpython/pull/103792
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
https://github.com/ambv
ambvhttps://github.com/ambv
Apr 24, 2023https://github.com/python/cpython/pull/103792#issue-1681977333
Please reload this pagehttps://github.com/python/cpython/pull/103792
contextlib.suppress does not support ExceptionGroups #103791https://github.com/python/cpython/issues/103791
Please reload this pagehttps://github.com/python/cpython/pull/103792
https://github.com/ambv
pythongh-103791https://github.com/python/cpython/issues/103791
: Make contextlib.suppress also act on exceptions with…https://github.com/python/cpython/pull/103792/commits/7bc3c15fa00e4be3ee7fed15a1bdb17f1a036fe4
7bc3c15https://github.com/python/cpython/pull/103792/commits/7bc3c15fa00e4be3ee7fed15a1bdb17f1a036fe4
https://github.com/ambv
ambvhttps://github.com/ambv
1st1https://github.com/1st1
iritkatrielhttps://github.com/iritkatriel
code ownershttps://github.com/python/cpython/blob/518050ced18422fd00fadc1a81b0d942b98e2e5b/.github/CODEOWNERS#L17
April 24, 2023 20:24https://github.com/python/cpython/pull/103792#event-9085512660
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
Apr 24, 2023 https://github.com/python/cpython/pull/103792#ref-issue-1681973371
contextlib.suppress does not support ExceptionGroups #103791 https://github.com/python/cpython/issues/103791
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Apr 24, 2023https://github.com/python/cpython/pull/103792#event-9085513349
ambvhttps://github.com/ambv
April 24, 2023 22:39https://github.com/python/cpython/pull/103792#commits-pushed-08fa06c
https://github.com/ambv
Remove unnecessary print() callshttps://github.com/python/cpython/pull/103792/commits/08fa06c9a51af41fc25c1a1cf81ee2b790d0d927
08fa06chttps://github.com/python/cpython/pull/103792/commits/08fa06c9a51af41fc25c1a1cf81ee2b790d0d927
https://github.com/ambv
Fix docstring typohttps://github.com/python/cpython/pull/103792/commits/be30df6a8026239eaa76eb2737476f11da31fb3f
be30df6https://github.com/python/cpython/pull/103792/commits/be30df6a8026239eaa76eb2737476f11da31fb3f
https://github.com/ambv
Don't chain with the old exception: split already has the correct TBhttps://github.com/python/cpython/pull/103792/commits/acf95f6d3b25a62dd7933264d4dbeeb2fcab368f
acf95f6https://github.com/python/cpython/pull/103792/commits/acf95f6d3b25a62dd7933264d4dbeeb2fcab368f
https://github.com/ambv
ambvhttps://github.com/ambv
Apr 24, 2023 https://github.com/python/cpython/pull/103792#pullrequestreview-1398789896
View reviewed changes https://github.com/python/cpython/pull/103792/files/acf95f6d3b25a62dd7933264d4dbeeb2fcab368f
Lib/contextlib.pyhttps://github.com/python/cpython/pull/103792/files/acf95f6d3b25a62dd7933264d4dbeeb2fcab368f#diff-e00601a380ba6c916ba4333277fe6ea43d2477804002ab1ae64480f80fec8e3a
ambvhttps://github.com/ambv
Apr 24, 2023https://github.com/python/cpython/pull/103792#discussion_r1175780836
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/103792
https://github.com/ambv
Documentation and Blurbhttps://github.com/python/cpython/pull/103792/commits/503d9f843d9506986ea87a29e17486b80358ee5c
503d9f8https://github.com/python/cpython/pull/103792/commits/503d9f843d9506986ea87a29e17486b80358ee5c
https://github.com/iritkatriel
iritkatrielhttps://github.com/iritkatriel
Apr 24, 2023 https://github.com/python/cpython/pull/103792#pullrequestreview-1398822705
View reviewed changes https://github.com/python/cpython/pull/103792/files/503d9f843d9506986ea87a29e17486b80358ee5c
iritkatrielhttps://github.com/iritkatriel
https://github.com/python/cpython/pull/103792#pullrequestreview-1398822705
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/103792
Doc/library/contextlib.rsthttps://github.com/python/cpython/pull/103792/files/503d9f843d9506986ea87a29e17486b80358ee5c#diff-a8e0406e6bc1be98e7e833d19599b151642ca471e7d0c71597bb2b8cfc0d2f31
Please reload this pagehttps://github.com/python/cpython/pull/103792
Misc/NEWS.d/next/Library/2023-04-24-23-07-56.gh-issue-103791.bBPWdS.rsthttps://github.com/python/cpython/pull/103792/files/503d9f843d9506986ea87a29e17486b80358ee5c#diff-3ee4273aa88b91150b3447bccf1195f2c4753de96dcc8de612cfedae6bd97483
Please reload this pagehttps://github.com/python/cpython/pull/103792
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 core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Apr 24, 2023https://github.com/python/cpython/pull/103792#event-9085944270
https://github.com/ambv
https://github.com/iritkatriel
Apply suggestions from code reviewhttps://github.com/python/cpython/pull/103792/commits/a43ffe46e7e6e527be9bd115bfe81d68087049ca
a43ffe4https://github.com/python/cpython/pull/103792/commits/a43ffe46e7e6e527be9bd115bfe81d68087049ca
https://github.com/ambv
ambvhttps://github.com/ambv
April 24, 2023 22:02https://github.com/python/cpython/pull/103792#event-9086181788
https://github.com/hugovk
hugovkhttps://github.com/hugovk
Apr 24, 2023 https://github.com/python/cpython/pull/103792#pullrequestreview-1398867790
View reviewed changes https://github.com/python/cpython/pull/103792/files/a43ffe46e7e6e527be9bd115bfe81d68087049ca
hugovkhttps://github.com/hugovk
https://github.com/python/cpython/pull/103792#pullrequestreview-1398867790
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/103792
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting changes https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20changes%22
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
Apr 24, 2023https://github.com/python/cpython/pull/103792#event-9086201721
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
Apr 24, 2023https://github.com/python/cpython/pull/103792#issuecomment-1520890689
Please reload this pagehttps://github.com/python/cpython/pull/103792
https://github.com/ambv
ambvhttps://github.com/ambv
hugovkhttps://github.com/hugovk
stale reviewhttps://github.com/python/cpython/pull/103792#pullrequestreview-1398867790
April 24, 2023 22:09https://github.com/python/cpython/pull/103792#event-9086222373
https://github.com/ambv
ambvhttps://github.com/ambv
22bed58https://github.com/python/cpython/commit/22bed58e531ce780d91f3364c5ace98fad28c2e8
Apr 24, 2023https://github.com/python/cpython/pull/103792#event-9086265646
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting changes https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20changes%22
Apr 24, 2023https://github.com/python/cpython/pull/103792#event-9086265913
carljmhttps://github.com/carljm
Apr 24, 2023 https://github.com/python/cpython/pull/103792#ref-commit-af807d6
https://github.com/carljm
Merge branch 'main' into superopt_spechttps://github.com/carljm/cpython/commit/af807d6f3a57e4397ec9f02a59b4b48b72c3df85
af807d6https://github.com/carljm/cpython/commit/af807d6f3a57e4397ec9f02a59b4b48b72c3df85
pythongh-87729https://github.com/python/cpython/issues/87729
python#103497https://github.com/python/cpython/pull/103497
pythongh-103791https://github.com/python/cpython/issues/103791
python#103792https://github.com/python/cpython/pull/103792
https://github.com/Zac-HD
Zac-HDhttps://github.com/Zac-HD
Nov 8, 2023 https://github.com/python/cpython/pull/103792#ref-issue-1982600836
Backport changes to contextlib.suppress()? agronholm/exceptiongroup#91 https://github.com/agronholm/exceptiongroup/issues/91
https://github.com/Zac-HD
Zac-HDhttps://github.com/Zac-HD
Nov 8, 2023 https://github.com/python/cpython/pull/103792#pullrequestreview-1721463763
View reviewed changes https://github.com/python/cpython/pull/103792/files/a43ffe46e7e6e527be9bd115bfe81d68087049ca
Lib/contextlib.pyhttps://github.com/python/cpython/pull/103792/files/a43ffe46e7e6e527be9bd115bfe81d68087049ca#diff-e00601a380ba6c916ba4333277fe6ea43d2477804002ab1ae64480f80fec8e3a
Zac-HDhttps://github.com/Zac-HD
Nov 8, 2023https://github.com/python/cpython/pull/103792#discussion_r1387322520
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/103792
iritkatrielhttps://github.com/iritkatriel
Nov 9, 2023https://github.com/python/cpython/pull/103792#discussion_r1387343565
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/103792
https://github.com/Zac-HD
Zac-HDhttps://github.com/Zac-HD
Nov 9, 2023 https://github.com/python/cpython/pull/103792#ref-pullrequest-1986216294
gh-103791: handle BaseExceptionGroup in contextlib.suppress() #111910 https://github.com/python/cpython/pull/111910
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%2F103792
https://github.com/iritkatriel
iritkatriel https://github.com/iritkatriel
https://github.com/python/cpython/pull/103792/files/a43ffe46e7e6e527be9bd115bfe81d68087049ca
https://github.com/hugovk
hugovk https://github.com/hugovk
https://github.com/python/cpython/pull/103792/files/a43ffe46e7e6e527be9bd115bfe81d68087049ca
https://github.com/1st1
1st1 https://github.com/1st1
https://github.com/Zac-HD
Zac-HD https://github.com/Zac-HD
https://github.com/python/cpython/pull/103792/files/a43ffe46e7e6e527be9bd115bfe81d68087049ca
Please reload this pagehttps://github.com/python/cpython/pull/103792
https://github.com/ambv
https://github.com/bedevere-bot
https://github.com/iritkatriel
https://github.com/hugovk
https://github.com/Zac-HD
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.