René's URL Explorer Experiment


Title: bpo-45711: use exc_value instead of exc_type to determine if exc_info is valid. Add more assertions. by iritkatriel · Pull Request #29627 · python/cpython · GitHub

Open Graph Title: bpo-45711: use exc_value instead of exc_type to determine if exc_info is valid. Add more assertions. by iritkatriel · Pull Request #29627 · python/cpython

X Title: bpo-45711: use exc_value instead of exc_type to determine if exc_info is valid. Add more assertions. by iritkatriel · Pull Request #29627 · python/cpython

Description: This brings us closer to removing exc_type from exc_info. Where exc_type is used, I made it use exc_value instead and added assertions that this is ok. Then when we remove exc_type it will just be a matter of removing the assertions. https://bugs.python.org/issue45711

Open Graph Description: This brings us closer to removing exc_type from exc_info. Where exc_type is used, I made it use exc_value instead and added assertions that this is ok. Then when we remove exc_type it will just be ...

X Description: This brings us closer to removing exc_type from exc_info. Where exc_type is used, I made it use exc_value instead and added assertions that this is ok. Then when we remove exc_type it will just be ...

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:f1731ce8-125d-69bd-c385-9af5ab92a8bf
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB16E:396CF6:1469C99:1AF3907:6A5C5E00
html-safe-nonceff34973ab257e268b19834ec4d97652b2f95cb780ade03a52db0b6085e71b720
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMTZFOjM5NkNGNjoxNDY5Qzk5OjFBRjM5MDc6NkE1QzVFMDAiLCJ2aXNpdG9yX2lkIjoiNDY1MzExNjk2Njk2NjE1NjgwMCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacabda63d683bc73a313d6addd1d94922a7820f4b10d2562268cac875b9bc6b78f
hovercard-subject-tagpull_request:784047593
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/29627/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:altThis brings us closer to removing exc_type from exc_info. Where exc_type is used, I made it use exc_value instead and added assertions that this is ok. Then when we remove exc_type it will just be ...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b
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
release9c975978430e9ad293956f2bbdaf153b1bd84a99
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/29627/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F29627%2Ffiles
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%2F29627%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/29627/files
Reloadhttps://github.com/python/cpython/pull/29627/files
Reloadhttps://github.com/python/cpython/pull/29627/files
Please reload this pagehttps://github.com/python/cpython/pull/29627/files
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/29627/files
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 34.9k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 73.8k 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.4k 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
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-45711-remove-exc_type_fieldhttps://github.com/iritkatriel/cpython/tree/bpo-45711-remove-exc_type_field
Conversation 12 https://github.com/python/cpython/pull/29627
Commits 7 https://github.com/python/cpython/pull/29627/commits
Checks 0 https://github.com/python/cpython/pull/29627/checks
Files changed https://github.com/python/cpython/pull/29627/files
Please reload this pagehttps://github.com/python/cpython/pull/29627/files
bpo-45711: use exc_value instead of exc_type to determine if exc_info is valid. Add more assertions. https://github.com/python/cpython/pull/29627/files#top
Show all changes 7 commits https://github.com/python/cpython/pull/29627/files
9275583 bpo-45711: make decisions based on exc_value instead of exc_type. Str… iritkatriel Nov 18, 2021 https://github.com/python/cpython/pull/29627/commits/9275583eb03d66fef007b6d06a09a4a96ef358d1
fbff4f6 put assertion definition under Py_DEBUG to remove Address sanitizer w… iritkatriel Nov 19, 2021 https://github.com/python/cpython/pull/29627/commits/fbff4f6831da24ac08a97749fc808393e482e4f6
bc889bc Merge remote-tracking branch 'upstream/main' into bpo-45711-remove-ex… iritkatriel Nov 22, 2021 https://github.com/python/cpython/pull/29627/commits/bc889bce6858f2426de7ad54a993ba073e48525a
3c451a1 err_info->exc_value ==> exc_value iritkatriel Nov 24, 2021 https://github.com/python/cpython/pull/29627/commits/3c451a1b9d2715716c61bcffadca96b9512de9d3
277c509 Simplified _PyErr_GetExcInfo. Moved assertion in _PyErr_GetTopmostExc… iritkatriel Nov 24, 2021 https://github.com/python/cpython/pull/29627/commits/277c509bf0849a71044c89483b2f78f36791189e
437cebb exc2 --> typ2 iritkatriel Nov 24, 2021 https://github.com/python/cpython/pull/29627/commits/437cebba2e8220e1766ee51bb9ee8fc842bee337
de67ed6 exc --> typ iritkatriel Nov 24, 2021 https://github.com/python/cpython/pull/29627/commits/de67ed658b0bf862b565e146d18aa180e10210cf
Clear filters https://github.com/python/cpython/pull/29627/files
Please reload this pagehttps://github.com/python/cpython/pull/29627/files
Please reload this pagehttps://github.com/python/cpython/pull/29627/files
pycore_pyerrors.h https://github.com/python/cpython/pull/29627/files#diff-369651c1fa6d49298aa234ee75042525ef4bf3ebe405d275156d96dd5d6f11ca
ceval.c https://github.com/python/cpython/pull/29627/files#diff-c22186367cbe20233e843261998dc027ae5f1f8c0d2e778abfa454ae74cc59de
errors.c https://github.com/python/cpython/pull/29627/files#diff-c37c836d0535b79d87b8eb0652c59ac0c2aeb1461bcb2274bee82656cecacad4
pystate.c https://github.com/python/cpython/pull/29627/files#diff-7ac11e526f79b42d6ea9d3592cb99da46775640c69fa5510f4a6de87cced7141
sysmodule.c https://github.com/python/cpython/pull/29627/files#diff-a3a5c73931235f7f344c072dc755d6508e13923db3f5d581c5e88652075871cb
Include/internal/pycore_pyerrors.hhttps://github.com/python/cpython/pull/29627/files#diff-369651c1fa6d49298aa234ee75042525ef4bf3ebe405d275156d96dd5d6f11ca
View file https://github.com/iritkatriel/cpython/blob/de67ed658b0bf862b565e146d18aa180e10210cf/Include/internal/pycore_pyerrors.h
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/29627/{{ revealButtonHref }}
https://github.com/python/cpython/pull/29627/files#diff-369651c1fa6d49298aa234ee75042525ef4bf3ebe405d275156d96dd5d6f11ca
https://github.com/python/cpython/pull/29627/files#diff-369651c1fa6d49298aa234ee75042525ef4bf3ebe405d275156d96dd5d6f11ca
https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L226
Python/ceval.chttps://github.com/python/cpython/pull/29627/files#diff-c22186367cbe20233e843261998dc027ae5f1f8c0d2e778abfa454ae74cc59de
View file https://github.com/iritkatriel/cpython/blob/de67ed658b0bf862b565e146d18aa180e10210cf/Python/ceval.c
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/29627/{{ revealButtonHref }}
https://github.com/python/cpython/pull/29627/files#diff-c22186367cbe20233e843261998dc027ae5f1f8c0d2e778abfa454ae74cc59de
https://github.com/python/cpython/pull/29627/files#diff-c22186367cbe20233e843261998dc027ae5f1f8c0d2e778abfa454ae74cc59de
https://github.com/python/cpython/pull/29627/files#diff-c22186367cbe20233e843261998dc027ae5f1f8c0d2e778abfa454ae74cc59de
https://github.com/python/cpython/pull/29627/files#diff-c22186367cbe20233e843261998dc027ae5f1f8c0d2e778abfa454ae74cc59de
https://github.com/python/cpython/pull/29627/files#diff-c22186367cbe20233e843261998dc027ae5f1f8c0d2e778abfa454ae74cc59de
https://github.com/python/cpython/pull/29627/files#diff-c22186367cbe20233e843261998dc027ae5f1f8c0d2e778abfa454ae74cc59de
https://github.com/python/cpython/pull/29627/files#diff-c22186367cbe20233e843261998dc027ae5f1f8c0d2e778abfa454ae74cc59de
https://github.com/python/cpython/pull/29627/files#diff-c22186367cbe20233e843261998dc027ae5f1f8c0d2e778abfa454ae74cc59de
Python/errors.chttps://github.com/python/cpython/pull/29627/files#diff-c37c836d0535b79d87b8eb0652c59ac0c2aeb1461bcb2274bee82656cecacad4
View file https://github.com/iritkatriel/cpython/blob/de67ed658b0bf862b565e146d18aa180e10210cf/Python/errors.c
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/29627/{{ revealButtonHref }}
https://github.com/python/cpython/pull/29627/files#diff-c37c836d0535b79d87b8eb0652c59ac0c2aeb1461bcb2274bee82656cecacad4
Please reload this pagehttps://github.com/python/cpython/pull/29627/files
https://github.com/python/cpython/pull/29627/files#diff-c37c836d0535b79d87b8eb0652c59ac0c2aeb1461bcb2274bee82656cecacad4
https://github.com/python/cpython/pull/29627/files#diff-c37c836d0535b79d87b8eb0652c59ac0c2aeb1461bcb2274bee82656cecacad4
Please reload this pagehttps://github.com/python/cpython/pull/29627/files
https://github.com/python/cpython/pull/29627/files#diff-c37c836d0535b79d87b8eb0652c59ac0c2aeb1461bcb2274bee82656cecacad4
https://github.com/python/cpython/pull/29627/files#diff-c37c836d0535b79d87b8eb0652c59ac0c2aeb1461bcb2274bee82656cecacad4
https://github.com/python/cpython/pull/29627/files#diff-c37c836d0535b79d87b8eb0652c59ac0c2aeb1461bcb2274bee82656cecacad4
https://github.com/python/cpython/pull/29627/files#diff-c37c836d0535b79d87b8eb0652c59ac0c2aeb1461bcb2274bee82656cecacad4
https://github.com/python/cpython/pull/29627/files#diff-c37c836d0535b79d87b8eb0652c59ac0c2aeb1461bcb2274bee82656cecacad4
https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L321
Python/pystate.chttps://github.com/python/cpython/pull/29627/files#diff-7ac11e526f79b42d6ea9d3592cb99da46775640c69fa5510f4a6de87cced7141
View file https://github.com/iritkatriel/cpython/blob/de67ed658b0bf862b565e146d18aa180e10210cf/Python/pystate.c
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/29627/{{ revealButtonHref }}
https://github.com/python/cpython/pull/29627/files#diff-7ac11e526f79b42d6ea9d3592cb99da46775640c69fa5510f4a6de87cced7141
https://github.com/python/cpython/pull/29627/files#diff-7ac11e526f79b42d6ea9d3592cb99da46775640c69fa5510f4a6de87cced7141
https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L247
Python/sysmodule.chttps://github.com/python/cpython/pull/29627/files#diff-a3a5c73931235f7f344c072dc755d6508e13923db3f5d581c5e88652075871cb
View file https://github.com/iritkatriel/cpython/blob/de67ed658b0bf862b565e146d18aa180e10210cf/Python/sysmodule.c
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/29627/{{ revealButtonHref }}
https://github.com/python/cpython/pull/29627/files#diff-a3a5c73931235f7f344c072dc755d6508e13923db3f5d581c5e88652075871cb
https://github.com/python/cpython/pull/29627/files#diff-a3a5c73931235f7f344c072dc755d6508e13923db3f5d581c5e88652075871cb
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.