René's URL Explorer Experiment


Title: bpo-45292: [PEP 654] Update traceback display code to work with exception groups by iritkatriel · Pull Request #29207 · python/cpython · GitHub

Open Graph Title: bpo-45292: [PEP 654] Update traceback display code to work with exception groups by iritkatriel · Pull Request #29207 · python/cpython

X Title: bpo-45292: [PEP 654] Update traceback display code to work with exception groups by iritkatriel · Pull Request #29207 · python/cpython

Description: https://bugs.python.org/issue45292

Open Graph Description: https://bugs.python.org/issue45292

X Description: https://bugs.python.org/issue45292

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:b95f315f-b6e3-5b1e-88d5-8de6e4dc3449
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idCE22:26BEF2:C5205D:1006C79:696B283F
html-safe-nonceaad750a750f9ed59af2305d5608b19f7af1cff78fb1f1d4a4b9ef9288612637b
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRTIyOjI2QkVGMjpDNTIwNUQ6MTAwNkM3OTo2OTZCMjgzRiIsInZpc2l0b3JfaWQiOiIxOTE5NTc0MjYzOTI4MTM3NzkxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmaccc9ea7166671021381127e06cf47ea245cd883c745097dc8f32d5d2ef9ec05b4
hovercard-subject-tagpull_request:765313830
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///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python/cpython/pull/29207/files
twitter:imagehttps://avatars.githubusercontent.com/u/1055913?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/1055913?s=400&v=4
og:image:althttps://bugs.python.org/issue45292
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d
turbo-cache-controlno-preview
diff-viewunified
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 full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release82560a55c6b2054555076f46e683151ee28a19bc
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/29207/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F29207%2Ffiles
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%2F29207%2Ffiles
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%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/29207/files
Reloadhttps://github.com/python/cpython/pull/29207/files
Reloadhttps://github.com/python/cpython/pull/29207/files
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/29207/files
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/29207/files
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
iritkatrielhttps://github.com/iritkatriel
python:mainhttps://github.com/python/cpython/tree/main
iritkatriel:bpo-45292-tracebackhttps://github.com/iritkatriel/cpython/tree/bpo-45292-traceback
Conversation 99 https://github.com/python/cpython/pull/29207
Commits 27 https://github.com/python/cpython/pull/29207/commits
Checks 0 https://github.com/python/cpython/pull/29207/checks
Files changed https://github.com/python/cpython/pull/29207/files
Please reload this pagehttps://github.com/python/cpython/pull/29207/files
bpo-45292: [PEP 654] Update traceback display code to work with exception groups https://github.com/python/cpython/pull/29207/files#top
Show all changes 27 commits https://github.com/python/cpython/pull/29207/files
42bed01 C traceback code iritkatriel Oct 5, 2021 https://github.com/python/cpython/pull/29207/commits/42bed01c31e03432873955bd66303054a2fa2483
a2daa23 add ExceptionGroups support to traceback.py iritkatriel Oct 8, 2021 https://github.com/python/cpython/pull/29207/commits/a2daa233f91eba83fe19eecb9df17961c015d04c
261917a remove 'with X sub-exceptions' line from tracebacks iritkatriel Oct 24, 2021 https://github.com/python/cpython/pull/29207/commits/261917a93f8ddef87f195abd6c247ba4eb1cfdbb
7613b43 pass margin instead of margin_char iritkatriel Oct 25, 2021 https://github.com/python/cpython/pull/29207/commits/7613b43c3d6621c4d3491d172d8e52d7ada8589a
d98a72b update news iritkatriel Oct 25, 2021 https://github.com/python/cpython/pull/29207/commits/d98a72b5b25309e9530a41417d08960a9694333c
d69916e excs is tuple, use PyTuple apis. Change check to assertion. iritkatriel Oct 25, 2021 https://github.com/python/cpython/pull/29207/commits/d69916e7663b8ca0b3d935db8b401f587e3697be
f5cab69 remove redundant num_excs > 0 check (it is asserted above) iritkatriel Oct 25, 2021 https://github.com/python/cpython/pull/29207/commits/f5cab699ee9a466b779c5485f5bcbacc7a44b704
5170f00 remove cpython_only from exception group tests iritkatriel Oct 25, 2021 https://github.com/python/cpython/pull/29207/commits/5170f00891a7f4be3bb349df49184cd2b8d6e44e
2052c77 handle recursion errors (vert deeply nested EGs) iritkatriel Oct 25, 2021 https://github.com/python/cpython/pull/29207/commits/2052c77d9b8093e0c61a2366e48ee0cd2f368257
5097300 WRITE_INDENTED_MARGIN macro --> write_indented_margin function iritkatriel Oct 26, 2021 https://github.com/python/cpython/pull/29207/commits/5097300d5d6a6ae64f816e836a2cfec449cab8c5
dc21cf8 move new traceback utils to internal/ iritkatriel Oct 26, 2021 https://github.com/python/cpython/pull/29207/commits/dc21cf8f53cc6ef2f3c7a93140aeca70260e9b73
d4007b7 test improvements iritkatriel Oct 26, 2021 https://github.com/python/cpython/pull/29207/commits/d4007b7a64dc580d317d2e29e080a99a98225782
169934e pep7, improve error checking and clarity iritkatriel Oct 26, 2021 https://github.com/python/cpython/pull/29207/commits/169934e9ac4a9b803d36e9864983ca1323b54390
aa4da45 add missing test to cover print_chained with/without parent_label iritkatriel Oct 26, 2021 https://github.com/python/cpython/pull/29207/commits/aa4da453fb1cfa4b5962b4c28de5426782e314f1
6ee84f7 compare the complete expected tb text iritkatriel Oct 26, 2021 https://github.com/python/cpython/pull/29207/commits/6ee84f7e196ebb9cdafebb95d1fb7527f1d16b81
ac7f34c Update Misc/NEWS.d/next/Core and Builtins/2021-09-26-18-18-50.bpo-452… iritkatriel Oct 26, 2021 https://github.com/python/cpython/pull/29207/commits/ac7f34c93c0a05757d082e1c028e89ae6eb44d52
d0d4961 don't need the regex anymore iritkatriel Oct 26, 2021 https://github.com/python/cpython/pull/29207/commits/d0d4961afde8f85cd8d640ba70a44b7b4c2f1473
5c1015d remove full-path labels iritkatriel Oct 29, 2021 https://github.com/python/cpython/pull/29207/commits/5c1015d98d2df9a4016fee6e809529d20854e2c5
83abebd int --> bool iritkatriel Oct 29, 2021 https://github.com/python/cpython/pull/29207/commits/83abebdaeb2d12b1a8e18338fdb7137cc5f7d958
16d077d move code around iritkatriel Oct 29, 2021 https://github.com/python/cpython/pull/29207/commits/16d077d458099e7d3d2b5455747f34e879488c61
64fb164 Tweak the top-level of traceback box as suggested by Yury iritkatriel Oct 31, 2021 https://github.com/python/cpython/pull/29207/commits/64fb164d8a4f01c88c27d32900bc1b88504ecfe2
88019f5 tidy up error handling iritkatriel Nov 1, 2021 https://github.com/python/cpython/pull/29207/commits/88019f57c407923693670bdfae50ee821140e575
e963835 add limits for width and depth of formatted exception groups iritkatriel Nov 2, 2021 https://github.com/python/cpython/pull/29207/commits/e9638355cb2c5685335823dcb90bc1e8f34df121
e85510a use _PyBaseExceptionGroup_Check macro iritkatriel Nov 2, 2021 https://github.com/python/cpython/pull/29207/commits/e85510a139efe58e880c0bd6214017035f112b4d
c15a7bd remove redundant PyErr_Clear iritkatriel Nov 2, 2021 https://github.com/python/cpython/pull/29207/commits/c15a7bd6fe5ed0d3d57bae881d5cdc682af0667e
d8cc6e8 minor tweak - move if out of loop iritkatriel Nov 2, 2021 https://github.com/python/cpython/pull/29207/commits/d8cc6e8a432e35a42ba01b50b8b67c3a39fb4641
61fab3f remove excess whitespace iritkatriel Nov 3, 2021 https://github.com/python/cpython/pull/29207/commits/61fab3fc3cd51b443909b87faa59f476351c5c7a
Clear filters https://github.com/python/cpython/pull/29207/files
Please reload this pagehttps://github.com/python/cpython/pull/29207/files
Please reload this pagehttps://github.com/python/cpython/pull/29207/files
pycore_traceback.h https://github.com/python/cpython/pull/29207/files#diff-d2af6b81815543753e2ca47dbecf621dd76a2923b7789848ca3a5348145786e1
test_traceback.py https://github.com/python/cpython/pull/29207/files#diff-8a52124ffceebd98f91bf96caa0f341ae109f79e190cd5acc1c56c8968d75252
traceback.py https://github.com/python/cpython/pull/29207/files#diff-96634ca56022c201d0ff677e922810a97e4ad8a55de53258cf0cbc22bd7c9be1
2021-09-26-18-18-50.bpo-45292.aX5HVr.rst https://github.com/python/cpython/pull/29207/files#diff-7e1b35b852e4000e1305acaca8127b0e18d8c2efd03266ed27830fa5b3696f87
pythonrun.c https://github.com/python/cpython/pull/29207/files#diff-2ecd9b536bc387479d824dc4b53f89679d6978d25c6b8a28ab21ed03e745e46e
traceback.c https://github.com/python/cpython/pull/29207/files#diff-8bca5f3e0435e43986da8b0359c72b3c60915101d3c0c84d27009eb8c15918f7
Include/internal/pycore_traceback.hhttps://github.com/python/cpython/pull/29207/files#diff-d2af6b81815543753e2ca47dbecf621dd76a2923b7789848ca3a5348145786e1
View file https://github.com/iritkatriel/cpython/blob/61fab3fc3cd51b443909b87faa59f476351c5c7a/Include/internal/pycore_traceback.h
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/29207/{{ revealButtonHref }}
https://github.com/python/cpython/pull/29207/files#diff-d2af6b81815543753e2ca47dbecf621dd76a2923b7789848ca3a5348145786e1
https://github.com/python/cpython/pull/29207/files#diff-d2af6b81815543753e2ca47dbecf621dd76a2923b7789848ca3a5348145786e1
Please reload this pagehttps://github.com/python/cpython/pull/29207/files
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.