René's URL Explorer Experiment


Title: gh-106922: Support multi-line error locations in traceback (attempt 2) by williamwen42 · Pull Request #112097 · python/cpython · GitHub

Open Graph Title: gh-106922: Support multi-line error locations in traceback (attempt 2) by williamwen42 · Pull Request #112097 · python/cpython

X Title: gh-106922: Support multi-line error locations in traceback (attempt 2) by williamwen42 · Pull Request #112097 · python/cpython

Description: Attempt 2 at #109589 - the C changes are no longer required, so only python files and tests are touched. Otherwise, the method to output multi-line errors remains unchanged compared to the original PR. Issue: gh-106922

Open Graph Description: Attempt 2 at #109589 - the C changes are no longer required, so only python files and tests are touched. Otherwise, the method to output multi-line errors remains unchanged compared to the original...

X Description: Attempt 2 at #109589 - the C changes are no longer required, so only python files and tests are touched. Otherwise, the method to output multi-line errors remains unchanged compared to the original...

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

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:08752ea5-9c28-9ddb-f2ac-dc0a92a59a7c
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB546:4D1C6:1E94616:29805C5:6B001661
html-safe-nonce583362cf0803292ecb37462b7db2b813592ee81231666a980c1a3ae5823ca21e
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNTQ2OjREMUM2OjFFOTQ2MTY6Mjk4MDVDNTo2QjAwMTY2MSIsInZpc2l0b3JfaWQiOiIzOTU3MjcyOTYwMTE2NDYzMjAyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac595a1c9fe239f9c7eb91bbc85791a8c3d3cfd3640cb284c0da9375d00f7c023a
hovercard-subject-tagpull_request:1601727775
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/112097/files
twitter:imagehttps://avatars.githubusercontent.com/u/20119138?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/20119138?s=400&v=4
og:image:altAttempt 2 at #109589 - the C changes are no longer required, so only python files and tests are touched. Otherwise, the method to output multi-line errors remains unchanged compared to the original...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonea2dd2291b1b13cc9c06f27ec92fa3dbaf34116fc24c9347b8539db61884c59f4
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
release70121d4e855ee0bb7b75cf15d061d91f8863c0f8
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/112097/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F112097%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F112097%2Ffiles
Sign uphttps://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/112097/files
Reloadhttps://github.com/python/cpython/pull/112097/files
Reloadhttps://github.com/python/cpython/pull/112097/files
pythonhttps://github.com/python
cpythonhttps://github.com/python/cpython
Codehttps://github.com/python/cpython
Issues5k+ (5k+)https://github.com/python/cpython/issues
Pull requests2.4k (2.4k)https://github.com/python/cpython/pulls
Actionshttps://github.com/python/cpython/actions
Projectshttps://github.com/python/cpython/projects
Security and qualityhttps://github.com/python/cpython/security
Insightshttps://github.com/python/cpython/insights
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
pablogsalhttps://github.com/pablogsal
python:mainhttps://github.com/python/cpython/tree/main
williamwen42:multiline-traceback-attempt-2https://github.com/williamwen42/cpython/tree/multiline-traceback-attempt-2
Conversation 45 https://github.com/python/cpython/pull/112097
Commits 6 https://github.com/python/cpython/pull/112097/commits
Checks 0 https://github.com/python/cpython/pull/112097/checks
Files changed https://github.com/python/cpython/pull/112097/files
Please reload this pagehttps://github.com/python/cpython/pull/112097/files
gh-106922: Support multi-line error locations in traceback (attempt 2) https://github.com/python/cpython/pull/112097/files#top
Show all changes 6 commits https://github.com/python/cpython/pull/112097/files
2644341 Support multi-line error locations in traceback (attempt 2) williamwen42 Nov 15, 2023 https://github.com/python/cpython/pull/112097/commits/26443410022536a1c13775570f7bc9477780c40e
c1f8d0b 📜🤖 Added by blurb_it. blurb-it[bot] Nov 15, 2023 https://github.com/python/cpython/pull/112097/commits/c1f8d0b9d76b887a654b290c5cf1d4171b509559
3152844 fix lint and doc test failures williamwen42 Nov 17, 2023 https://github.com/python/cpython/pull/112097/commits/315284422f2120e77509167bf2274c4f8d5cd87d
425c874 address pr comments williamwen42 Nov 21, 2023 https://github.com/python/cpython/pull/112097/commits/425c87452a5020a4aba5cba48cb372b9083da6cf
873501f Merge branch 'main' into multiline-traceback-attempt-2 williamwen42 Dec 1, 2023 https://github.com/python/cpython/pull/112097/commits/873501f5d9e82c8287a17cc6f440a90907e7cf02
99094bb add more comments, address some nits williamwen42 Dec 1, 2023 https://github.com/python/cpython/pull/112097/commits/99094bbd2ef2873a93023e985caebca1d6307a90
Clear filters https://github.com/python/cpython/pull/112097/files
Please reload this pagehttps://github.com/python/cpython/pull/112097/files
Please reload this pagehttps://github.com/python/cpython/pull/112097/files
traceback.rst https://github.com/python/cpython/pull/112097/files#diff-a9dfe7dd797d4b6f0c0fd21182d70a180a287f8ee6f43a08ef7ecc29f809b13e
test_doctest.py https://github.com/python/cpython/pull/112097/files#diff-2752e009dea2759fb0a5a0866446e8bbd3f5ed30c030b26d252d7a1178b413e7
test_exceptions.py https://github.com/python/cpython/pull/112097/files#diff-3dbd58a46964dc5908595a1caa552fa3f5e2e46610679634ffc1064fd7cc3c8f
test_repl.py https://github.com/python/cpython/pull/112097/files#diff-5401943d2b776b0ff00529833651ea8a9ad5ecbbf064efc86a5caa7d746ecd91
test_sys.py https://github.com/python/cpython/pull/112097/files#diff-f3ae0e3fbb12fe0717e2d9d8801f5d9f3091c34254d1302b228422d7d07fdc5d
test_traceback.py https://github.com/python/cpython/pull/112097/files#diff-8a52124ffceebd98f91bf96caa0f341ae109f79e190cd5acc1c56c8968d75252
__init__.py https://github.com/python/cpython/pull/112097/files#diff-21be9e4809f5cd7dcd4665eb0054b4bf9d924c2c9ce0a010e85dba405e94d9e9
traceback.py https://github.com/python/cpython/pull/112097/files#diff-96634ca56022c201d0ff677e922810a97e4ad8a55de53258cf0cbc22bd7c9be1
2023-11-15-01-36-04.gh-issue-106922.qslOVH.rst https://github.com/python/cpython/pull/112097/files#diff-6c1f1a613518090e4e86a997319b9b6c6e97582cb8fb7d00ca0b8d1641cbe55b
Doc/library/traceback.rsthttps://github.com/python/cpython/pull/112097/files#diff-a9dfe7dd797d4b6f0c0fd21182d70a180a287f8ee6f43a08ef7ecc29f809b13e
View file https://github.com/williamwen42/cpython/blob/99094bbd2ef2873a93023e985caebca1d6307a90/Doc/library/traceback.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/112097/{{ revealButtonHref }}
https://github.com/python/cpython/pull/112097/files#diff-a9dfe7dd797d4b6f0c0fd21182d70a180a287f8ee6f43a08ef7ecc29f809b13e
https://github.com/python/cpython/pull/112097/files#diff-a9dfe7dd797d4b6f0c0fd21182d70a180a287f8ee6f43a08ef7ecc29f809b13e
Lib/test/test_doctest.pyhttps://github.com/python/cpython/pull/112097/files#diff-2752e009dea2759fb0a5a0866446e8bbd3f5ed30c030b26d252d7a1178b413e7
View file https://github.com/williamwen42/cpython/blob/99094bbd2ef2873a93023e985caebca1d6307a90/Lib/test/test_doctest.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/112097/{{ revealButtonHref }}
https://github.com/python/cpython/pull/112097/files#diff-2752e009dea2759fb0a5a0866446e8bbd3f5ed30c030b26d252d7a1178b413e7
https://github.com/python/cpython/pull/112097/files#diff-2752e009dea2759fb0a5a0866446e8bbd3f5ed30c030b26d252d7a1178b413e7
https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L247
Lib/test/test_exceptions.pyhttps://github.com/python/cpython/pull/112097/files#diff-3dbd58a46964dc5908595a1caa552fa3f5e2e46610679634ffc1064fd7cc3c8f
View file https://github.com/williamwen42/cpython/blob/99094bbd2ef2873a93023e985caebca1d6307a90/Lib/test/test_exceptions.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/112097/{{ revealButtonHref }}
https://github.com/python/cpython/pull/112097/files#diff-3dbd58a46964dc5908595a1caa552fa3f5e2e46610679634ffc1064fd7cc3c8f
https://github.com/python/cpython/pull/112097/files#diff-3dbd58a46964dc5908595a1caa552fa3f5e2e46610679634ffc1064fd7cc3c8f
Lib/test/test_repl.pyhttps://github.com/python/cpython/pull/112097/files#diff-5401943d2b776b0ff00529833651ea8a9ad5ecbbf064efc86a5caa7d746ecd91
View file https://github.com/williamwen42/cpython/blob/99094bbd2ef2873a93023e985caebca1d6307a90/Lib/test/test_repl.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/112097/{{ revealButtonHref }}
https://github.com/python/cpython/pull/112097/files#diff-5401943d2b776b0ff00529833651ea8a9ad5ecbbf064efc86a5caa7d746ecd91
https://github.com/python/cpython/pull/112097/files#diff-5401943d2b776b0ff00529833651ea8a9ad5ecbbf064efc86a5caa7d746ecd91
Lib/test/test_sys.pyhttps://github.com/python/cpython/pull/112097/files#diff-f3ae0e3fbb12fe0717e2d9d8801f5d9f3091c34254d1302b228422d7d07fdc5d
View file https://github.com/williamwen42/cpython/blob/99094bbd2ef2873a93023e985caebca1d6307a90/Lib/test/test_sys.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/112097/{{ revealButtonHref }}
https://github.com/python/cpython/pull/112097/files#diff-f3ae0e3fbb12fe0717e2d9d8801f5d9f3091c34254d1302b228422d7d07fdc5d
https://github.com/python/cpython/pull/112097/files#diff-f3ae0e3fbb12fe0717e2d9d8801f5d9f3091c34254d1302b228422d7d07fdc5d
Please reload this pagehttps://github.com/python/cpython/pull/112097/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.