| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:b95f315f-b6e3-5b1e-88d5-8de6e4dc3449 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | CE22:26BEF2:C5205D:1006C79:696B283F |
| html-safe-nonce | aad750a750f9ed59af2305d5608b19f7af1cff78fb1f1d4a4b9ef9288612637b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRTIyOjI2QkVGMjpDNTIwNUQ6MTAwNkM3OTo2OTZCMjgzRiIsInZpc2l0b3JfaWQiOiIxOTE5NTc0MjYzOTI4MTM3NzkxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | cc9ea7166671021381127e06cf47ea245cd883c745097dc8f32d5d2ef9ec05b4 |
| hovercard-subject-tag | pull_request:765313830 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python/cpython/pull/29207/files |
| twitter:image | https://avatars.githubusercontent.com/u/1055913?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/1055913?s=400&v=4 |
| og:image:alt | https://bugs.python.org/issue45292 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 82560a55c6b2054555076f46e683151ee28a19bc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://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 AI | https://github.com/features/copilot |
| GitHub SparkBuild and deploy intelligent apps | https://github.com/features/spark |
| GitHub ModelsManage and compare prompts | https://github.com/features/models |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| GitHub SponsorsFund open source developers | https://github.com/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/accelerator |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://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 |
| Reload | https://github.com/python/cpython/pull/29207/files |
| Reload | https://github.com/python/cpython/pull/29207/files |
| Reload | https://github.com/python/cpython/pull/29207/files |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://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 page | https://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 service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose |
| iritkatriel | https://github.com/iritkatriel |
| python:main | https://github.com/python/cpython/tree/main |
| iritkatriel:bpo-45292-traceback | https://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 page | https://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 page | https://github.com/python/cpython/pull/29207/files |
| Please reload this page | https://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.h | https://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 page | https://github.com/python/cpython/pull/29207/files |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |