René's URL Explorer Experiment


Title: gh-146199: Fix error handling in `code_richcompare` when `PyObject_RichCompareBool` fails by brijkapadia · Pull Request #146200 · python/cpython · GitHub

Open Graph Title: gh-146199: Fix error handling in `code_richcompare` when `PyObject_RichCompareBool` fails by brijkapadia · Pull Request #146200 · python/cpython

X Title: gh-146199: Fix error handling in `code_richcompare` when `PyObject_RichCompareBool` fails by brijkapadia · Pull Request #146200 · python/cpython

Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.

Open Graph Description: Issue: code_richcompare swallows errors #146199

X Description: Issue: code_richcompare swallows errors #146199

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

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:1870b50d-7c20-cecd-2dd4-d01166cd43ab
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC104:2DAA69:18F4E47:239C53F:6A50D69B
html-safe-noncedaada9b23f11aaf6e0dab7dacae09e171c261f35edc5e7a408970cf3e9963018
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMTA0OjJEQUE2OToxOEY0RTQ3OjIzOUM1M0Y6NkE1MEQ2OUIiLCJ2aXNpdG9yX2lkIjoiODI2Mjk0MTUyNjc3MzQ5MDE5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac48f11700d6cd19c92e62f82aa41af0eeeea5a10b8b8cb8a176159c85e910d493
hovercard-subject-tagpull_request:3424366332
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/146200/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/b7a381ebbe7d699207e4e5087bd92f65f7b6eba51ee388235b8300797b615500/python/cpython/pull/146200
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/b7a381ebbe7d699207e4e5087bd92f65f7b6eba51ee388235b8300797b615500/python/cpython/pull/146200
og:image:altIssue: code_richcompare swallows errors #146199
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamebrijkapadia
hostnamegithub.com
expected-hostnamegithub.com
None72b13e0e8d0319acdd27a145cfe73f4f06c791713d0ac4690e41fb68ad28cac0
turbo-cache-controlno-cache
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
release73ad5c4eaffed7bb3637024653eabdbca84a855e
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/146200#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F146200
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%2F146200
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/146200
Reloadhttps://github.com/python/cpython/pull/146200
Reloadhttps://github.com/python/cpython/pull/146200
Please reload this pagehttps://github.com/python/cpython/pull/146200
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/146200
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 35k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 73.7k 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.3k 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
vstinnerhttps://github.com/vstinner
python:mainhttps://github.com/python/cpython/tree/main
brijkapadia:codeobject-richcomphttps://github.com/brijkapadia/cpython/tree/codeobject-richcomp
Conversationhttps://github.com/python/cpython/pull/146200
Commits5 (5)https://github.com/python/cpython/pull/146200/commits
Checkshttps://github.com/python/cpython/pull/146200/checks
Files changedhttps://github.com/python/cpython/pull/146200/files
gh-146199: Fix error handling in code_richcompare when PyObject_RichCompareBool failshttps://github.com/python/cpython/pull/146200#top
vstinnerhttps://github.com/vstinner
python:mainhttps://github.com/python/cpython/tree/main
brijkapadia:codeobject-richcomphttps://github.com/brijkapadia/cpython/tree/codeobject-richcomp
https://github.com/brijkapadia
brijkapadiahttps://github.com/brijkapadia
Mar 20, 2026https://github.com/python/cpython/pull/146200#issue-4107112839
Please reload this pagehttps://github.com/python/cpython/pull/146200
code_richcompare swallows errors #146199https://github.com/python/cpython/issues/146199
Please reload this pagehttps://github.com/python/cpython/pull/146200
https://github.com/brijkapadia
pythongh-146199https://github.com/python/cpython/issues/146199
: Fix error handling inhttps://github.com/python/cpython/pull/146200/commits/a388f88d9e886ff4703f873fffee0415817fc812
code_richcomparehttps://github.com/python/cpython/pull/146200/commits/a388f88d9e886ff4703f873fffee0415817fc812
when `PyObj…https://github.com/python/cpython/pull/146200/commits/a388f88d9e886ff4703f873fffee0415817fc812
a388f88https://github.com/python/cpython/pull/146200/commits/a388f88d9e886ff4703f873fffee0415817fc812
https://github.com/brijkapadia
brijkapadiahttps://github.com/brijkapadia
markshannonhttps://github.com/markshannon
code ownerhttps://github.com/python/cpython/blob/d357a7dbf38868844415ec1d5df80379ea5a2326/.github/CODEOWNERS#L215
March 20, 2026 10:35https://github.com/python/cpython/pull/146200#event-23748265254
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Mar 20, 2026 https://github.com/python/cpython/pull/146200#ref-issue-4107096196
code_richcompare swallows errors #146199 https://github.com/python/cpython/issues/146199
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Mar 20, 2026https://github.com/python/cpython/pull/146200#event-23748269139
https://github.com/apps/blurb-it
📜🤖 Added by blurb_it.https://github.com/python/cpython/pull/146200/commits/1d128a61c56f5114072796a61a4a6236efb2070f
1d128a6https://github.com/python/cpython/pull/146200/commits/1d128a61c56f5114072796a61a4a6236efb2070f
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Mar 20, 2026 https://github.com/python/cpython/pull/146200#pullrequestreview-3981889441
View reviewed changes https://github.com/python/cpython/pull/146200/files/1d128a61c56f5114072796a61a4a6236efb2070f
Lib/test/test_code.pyhttps://github.com/python/cpython/pull/146200/files/1d128a61c56f5114072796a61a4a6236efb2070f#diff-08d8a239ab9b84cf01875e28a6dae873628b56bfe94d30c3336c4a607d8036e5
Please reload this pagehttps://github.com/python/cpython/pull/146200
Lib/test/test_code.pyhttps://github.com/python/cpython/pull/146200/files/1d128a61c56f5114072796a61a4a6236efb2070f#diff-08d8a239ab9b84cf01875e28a6dae873628b56bfe94d30c3336c4a607d8036e5
Please reload this pagehttps://github.com/python/cpython/pull/146200
brijkapadiahttps://github.com/brijkapadia
March 20, 2026 14:19https://github.com/python/cpython/pull/146200#commits-pushed-7f1d736
https://github.com/brijkapadia
https://github.com/vstinner
Update Lib/test/test_code.pyhttps://github.com/python/cpython/pull/146200/commits/7f1d736bcd22a922f813cca6c202fdff7e72013b
7f1d736https://github.com/python/cpython/pull/146200/commits/7f1d736bcd22a922f813cca6c202fdff7e72013b
https://github.com/brijkapadia
Update __hash__ in testhttps://github.com/python/cpython/pull/146200/commits/ef70ca53f41227a67e3a0a1e76196cf4272d0d0d
ef70ca5https://github.com/python/cpython/pull/146200/commits/ef70ca53f41227a67e3a0a1e76196cf4272d0d0d
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Mar 21, 2026 https://github.com/python/cpython/pull/146200#pullrequestreview-3985867459
View reviewed changes https://github.com/python/cpython/pull/146200/files/ef70ca53f41227a67e3a0a1e76196cf4272d0d0d
vstinnerhttps://github.com/vstinner
https://github.com/python/cpython/pull/146200#pullrequestreview-3985867459
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/146200
Misc/NEWS.d/next/Core_and_Builtins/2026-03-20-12-26-24.gh-issue-146199.vV8V9s.rsthttps://github.com/python/cpython/pull/146200/files/ef70ca53f41227a67e3a0a1e76196cf4272d0d0d#diff-b2ac1d08f6e0550e964ac0ce01c1401305610092aa4eb0f1734e2feab6ea6b1b
Please reload this pagehttps://github.com/python/cpython/pull/146200
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Mar 21, 2026https://github.com/python/cpython/pull/146200#event-23775024697
https://github.com/brijkapadia
Move NEWS to Core_and_Builtinshttps://github.com/python/cpython/pull/146200/commits/bc1ecf68caaaf021b8ffde302c1c80f55611dccc
bc1ecf6https://github.com/python/cpython/pull/146200/commits/bc1ecf68caaaf021b8ffde302c1c80f55611dccc
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
e017971https://github.com/python/cpython/commit/e017971eb9f98b2caa3cde6a74ee0acec41529c4
Mar 23, 2026https://github.com/python/cpython/pull/146200#event-23831608408
Please reload this pagehttps://github.com/python/cpython/pull/146200
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
Mar 23, 2026https://github.com/python/cpython/pull/146200#event-23831609729
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Mar 23, 2026https://github.com/python/cpython/pull/146200#issuecomment-4114179586
Please reload this pagehttps://github.com/python/cpython/pull/146200
CuriousLearnerhttps://github.com/CuriousLearner
Mar 24, 2026 https://github.com/python/cpython/pull/146200#ref-commit-78b2c6a
https://github.com/CuriousLearner
Merge branch 'fix-https://github.com/CuriousLearner/cpython/commit/78b2c6a7708e1cb967f26f631a41ea294b7a6b14
pythongh-138577https://github.com/python/cpython/issues/138577
' of github.com:CuriousLearner/cpyth…https://github.com/CuriousLearner/cpython/commit/78b2c6a7708e1cb967f26f631a41ea294b7a6b14
78b2c6ahttps://github.com/CuriousLearner/cpython/commit/78b2c6a7708e1cb967f26f631a41ea294b7a6b14
pythongh-138577https://github.com/python/cpython/issues/138577
pythongh-138577https://github.com/python/cpython/issues/138577
pythongh-146202https://github.com/python/cpython/issues/146202
python#146347https://github.com/python/cpython/pull/146347
pythongh-144319https://github.com/python/cpython/issues/144319
python#144928https://github.com/python/cpython/pull/144928
pythongh-146199https://github.com/python/cpython/issues/146199
python#146200https://github.com/python/cpython/pull/146200
pythongh-146197https://github.com/python/cpython/issues/146197
python#146346https://github.com/python/cpython/pull/146346
pythongh-135871https://github.com/python/cpython/issues/135871
pythongh-146064https://github.com/python/cpython/pull/146064
pythongh-145719https://github.com/python/cpython/issues/145719
python#145720https://github.com/python/cpython/pull/145720
https://github.com/brijkapadia
brijkapadiahttps://github.com/brijkapadia
March 24, 2026 09:00https://github.com/python/cpython/pull/146200#event-23843640271
https://github.com/pablogsal
pablogsalhttps://github.com/pablogsal
Apr 4, 2026 https://github.com/python/cpython/pull/146200#ref-pullrequest-3716338400
gh-130273: Fix traceback color output with unicode characters #142529 https://github.com/python/cpython/pull/142529
clin1234https://github.com/clin1234
Apr 16, 2026 https://github.com/python/cpython/pull/146200#ref-commit-ff603dc
https://github.com/brijkapadia
https://github.com/apps/blurb-it
https://github.com/vstinner
https://github.com/clin1234
pythongh-146199https://github.com/python/cpython/issues/146199
: Fix error handling inhttps://github.com/clin1234/cpython/commit/ff603dccdf7d20bf21fe19da7f425b1b7751da91
code_richcomparehttps://github.com/clin1234/cpython/commit/ff603dccdf7d20bf21fe19da7f425b1b7751da91
when `PyObj…https://github.com/clin1234/cpython/commit/ff603dccdf7d20bf21fe19da7f425b1b7751da91
ff603dchttps://github.com/clin1234/cpython/commit/ff603dccdf7d20bf21fe19da7f425b1b7751da91
python#146200https://github.com/python/cpython/pull/146200
ljfphttps://github.com/ljfp
Apr 25, 2026 https://github.com/python/cpython/pull/146200#ref-commit-d24feb2
https://github.com/brijkapadia
https://github.com/apps/blurb-it
https://github.com/vstinner
https://github.com/ljfp
pythongh-146199https://github.com/python/cpython/issues/146199
: Fix error handling inhttps://github.com/ljfp/cpython/commit/d24feb23a237b10d95d05ae20b6ab294fb5ebaa6
code_richcomparehttps://github.com/ljfp/cpython/commit/d24feb23a237b10d95d05ae20b6ab294fb5ebaa6
when `PyObj…https://github.com/ljfp/cpython/commit/d24feb23a237b10d95d05ae20b6ab294fb5ebaa6
d24feb2https://github.com/ljfp/cpython/commit/d24feb23a237b10d95d05ae20b6ab294fb5ebaa6
python#146200https://github.com/python/cpython/pull/146200
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
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%2F146200
https://github.com/serhiy-storchaka
serhiy-storchaka https://github.com/serhiy-storchaka
https://github.com/python/cpython/pull/146200/files/1d128a61c56f5114072796a61a4a6236efb2070f
https://github.com/vstinner
vstinner https://github.com/vstinner
https://github.com/python/cpython/pull/146200/files/ef70ca53f41227a67e3a0a1e76196cf4272d0d0d
https://github.com/markshannon
markshannon https://github.com/markshannon
Please reload this pagehttps://github.com/python/cpython/pull/146200
https://github.com/brijkapadia
https://github.com/vstinner
https://github.com/serhiy-storchaka
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.