René's URL Explorer Experiment


Title: Require `SupportsBool` instead of `bool` for comparisons. by randolf-scholz · Pull Request #14375 · python/typeshed · GitHub

Open Graph Title: Require `SupportsBool` instead of `bool` for comparisons. by randolf-scholz · Pull Request #14375 · python/typeshed

X Title: Require `SupportsBool` instead of `bool` for comparisons. by randolf-scholz · Pull Request #14375 · python/typeshed

Description: Collection of library stubs for Python, with static types - Require `SupportsBool` instead of `bool` for comparisons. by randolf-scholz · Pull Request #14375 · python/typeshed

Open Graph Description: Fixes #12562. Essentially a reopen of #12939 with additional tests. This PR was closed due to a misunderstanding. Note that an earlier comment by JelleZijlstra suggested that SupportsBool is equiva...

X Description: Fixes #12562. Essentially a reopen of #12939 with additional tests. This PR was closed due to a misunderstanding. Note that an earlier comment by JelleZijlstra suggested that SupportsBool is equiva...

Opengraph URL: https://github.com/python/typeshed/pull/14375

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/_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:403d09ec-182b-c680-b0dc-b8a54be77179
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE8C8:3A13A0:246F52F:3174430:6B00326C
html-safe-nonce17a4115528bde3235ad7a7adb8b8ba0b8257b43f554bb90df75e6f527670463c
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFOEM4OjNBMTNBMDoyNDZGNTJGOjMxNzQ0MzA6NkIwMDMyNkMiLCJ2aXNpdG9yX2lkIjoiODk3NTM3MDkxNjA1Nzg1NDU3MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac6453316228801eeaa0aef264ace8195ef715ad57182ac81dba0cca6fbbe9dfda
hovercard-subject-tagpull_request:2647383124
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/typeshed/14375/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/5340c4c077e1f1f002b14b2cd76ed200a76081af5f36d6b7b82de5c3812e7f5e/python/typeshed/pull/14375
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/5340c4c077e1f1f002b14b2cd76ed200a76081af5f36d6b7b82de5c3812e7f5e/python/typeshed/pull/14375
og:image:altFixes #12562. Essentially a reopen of #12939 with additional tests. This PR was closed due to a misunderstanding. Note that an earlier comment by JelleZijlstra suggested that SupportsBool is equiva...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamerandolf-scholz
hostnamegithub.com
expected-hostnamegithub.com
None7d0829bbde9e48b2486cb5dd6d147896eb01d32134627091f818958a935ef3f0
turbo-cache-controlno-cache
go-importgithub.com/python/typeshed git https://github.com/python/typeshed.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id31696383
octolytics-dimension-repository_nwopython/typeshed
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id31696383
octolytics-dimension-repository_network_root_nwopython/typeshed
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
releasef3f3a43ca095cdea3abbb394112e971f9fdb94fa
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/python/typeshed/pull/14375#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F14375
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%2Ftypeshed%2Fpull%2F14375
Sign uphttps://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%2Ftypeshed
Reloadhttps://github.com/python/typeshed/pull/14375
Reloadhttps://github.com/python/typeshed/pull/14375
Reloadhttps://github.com/python/typeshed/pull/14375
pythonhttps://github.com/python
typeshedhttps://github.com/python/typeshed
Codehttps://github.com/python/typeshed
Issues196 (196)https://github.com/python/typeshed/issues
Pull requests251 (251)https://github.com/python/typeshed/pulls
Actionshttps://github.com/python/typeshed/actions
Security and qualityhttps://github.com/python/typeshed/security
Insightshttps://github.com/python/typeshed/insights
https://github.com/python/typeshed
srittauhttps://github.com/srittau
python:mainhttps://github.com/python/typeshed/tree/main
randolf-scholz:use_supportsbool_for_comparisonhttps://github.com/randolf-scholz/typeshed/tree/use_supportsbool_for_comparison
Conversationhttps://github.com/python/typeshed/pull/14375
Commits4 (4)https://github.com/python/typeshed/pull/14375/commits
Checkshttps://github.com/python/typeshed/pull/14375/checks
Files changedhttps://github.com/python/typeshed/pull/14375/files
Require SupportsBool instead of bool for comparisons.https://github.com/python/typeshed/pull/14375#top
srittauhttps://github.com/srittau
python:mainhttps://github.com/python/typeshed/tree/main
randolf-scholz:use_supportsbool_for_comparisonhttps://github.com/randolf-scholz/typeshed/tree/use_supportsbool_for_comparison
https://github.com/randolf-scholz
randolf-scholzhttps://github.com/randolf-scholz
Jul 7, 2025https://github.com/python/typeshed/pull/14375#issue-3209689613
#12562https://github.com/python/typeshed/issues/12562
#12939https://github.com/python/typeshed/pull/12939
earlier commenthttps://github.com/python/typeshed/issues/12562#issuecomment-2302475367
JelleZijlstrahttps://github.com/JelleZijlstra
pyright playgroundhttps://pyright-play.net/?code=GYJw9gtgBALgngBwJYDsDmUkQWEMoAK4MYAxmADYA0UIArijFgKYD6pAFs6QNYCGAIwrMAUCIAC9Ri3Zdeg4SNIU%2BAZ1VQAynQQ48qgEJhKACiJgS5CgEoAXCKiOoAE2bAorVgOMVPJ1cwUwNZQALQAfFDelLZQAHQJYgAesdq6uDCGPlAAvFAAKvSicKk6eplGlLlQYAIAVtwwJiFQAMRQEIglUIAy5FAIcCBIaBwwsb1iagF4mKqoqjB8KKTMJkk0aeVZlC3tgKDkIlPMMygWs-OLy6twG2UZ2zaO%2ByJAA
object.__bool__https://docs.python.org/3/reference/datamodel.html#object.__bool__
Please reload this pagehttps://github.com/python/typeshed/pull/14375
https://github.com/randolf-scholz
use SupportsBool as return type + added tests for minhttps://github.com/python/typeshed/pull/14375/commits/48e5c71048d9b3bc335fda5df2ef0413f5959685
48e5c71https://github.com/python/typeshed/pull/14375/commits/48e5c71048d9b3bc335fda5df2ef0413f5959685
https://github.com/randolf-scholz
randolf-scholzhttps://github.com/randolf-scholz
Jul 7, 2025 https://github.com/python/typeshed/pull/14375#ref-pullrequest-2478466067
Experiment: Let SupportsDunderLT return object. #12573 https://github.com/python/typeshed/pull/12573
https://github.com/randolf-scholz
randolf-scholzhttps://github.com/randolf-scholz
Jul 7, 2025 https://github.com/python/typeshed/pull/14375#pullrequestreview-2994718283
View reviewed changes https://github.com/python/typeshed/pull/14375/files/48e5c71048d9b3bc335fda5df2ef0413f5959685
stdlib/@tests/test_cases/builtins/check_min.pyhttps://github.com/python/typeshed/pull/14375/files/48e5c71048d9b3bc335fda5df2ef0413f5959685#diff-0f00f2e4b56984df059fba648193c064a34fa971d1f5d5cdcb9b66ce5efbf1cc
Please reload this pagehttps://github.com/python/typeshed/pull/14375
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F14375
https://github.com/jorenham
jorenhamhttps://github.com/jorenham
Jul 7, 2025 https://github.com/python/typeshed/pull/14375#pullrequestreview-2994773330
View reviewed changes https://github.com/python/typeshed/pull/14375/files/48e5c71048d9b3bc335fda5df2ef0413f5959685
stdlib/_typeshed/__init__.pyihttps://github.com/python/typeshed/pull/14375/files/48e5c71048d9b3bc335fda5df2ef0413f5959685#diff-a3613e85580869c0367d2d8a73f77fa3d00185b5ffee724958f7ddd69d865793
Please reload this pagehttps://github.com/python/typeshed/pull/14375
randolf-scholzhttps://github.com/randolf-scholz
July 7, 2025 19:52https://github.com/python/typeshed/pull/14375#commits-pushed-2f3e9d6
https://github.com/randolf-scholz
formattinghttps://github.com/python/typeshed/pull/14375/commits/2f3e9d6cde36bec6025372e148cdf765a7805dd2
2f3e9d6https://github.com/python/typeshed/pull/14375/commits/2f3e9d6cde36bec6025372e148cdf765a7805dd2
https://github.com/randolf-scholz
Merge branch 'main' into use_supportsbool_for_comparisonhttps://github.com/python/typeshed/pull/14375/commits/4afa10f1447fc2f2492ac47c343192da3abf3ba0
4afa10fhttps://github.com/python/typeshed/pull/14375/commits/4afa10f1447fc2f2492ac47c343192da3abf3ba0
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F14375
https://github.com/randolf-scholz
randolf-scholzhttps://github.com/randolf-scholz
Jul 14, 2025 https://github.com/python/typeshed/pull/14375#ref-pullrequest-3209223867
Revert "Let SupportsDunderLT return SupportsBool instead of `bool… #14373 https://github.com/python/typeshed/pull/14373
https://github.com/randolf-scholz
Merge branch 'main' into use_supportsbool_for_comparisonhttps://github.com/python/typeshed/pull/14375/commits/450799626174c3a189229915b7dfbb164b8510b0
4507996https://github.com/python/typeshed/pull/14375/commits/450799626174c3a189229915b7dfbb164b8510b0
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Jul 16, 2025https://github.com/python/typeshed/pull/14375#issuecomment-3077181167
mypy_primerhttps://github.com/hauntsaninja/mypy_primer
Please reload this pagehttps://github.com/python/typeshed/pull/14375
https://github.com/srittau
srittauhttps://github.com/srittau
Jul 16, 2025 https://github.com/python/typeshed/pull/14375#pullrequestreview-3024446458
View reviewed changes https://github.com/python/typeshed/pull/14375/files/450799626174c3a189229915b7dfbb164b8510b0
srittauhttps://github.com/srittau
https://github.com/python/typeshed/pull/14375#pullrequestreview-3024446458
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/typeshed/pull/14375
https://github.com/srittau
srittauhttps://github.com/srittau
bd17a57https://github.com/python/typeshed/commit/bd17a577a5f0525c45d43dacc14540035d024fd8
Jul 16, 2025https://github.com/python/typeshed/pull/14375#event-18657427865
https://github.com/jorenham
jorenhamhttps://github.com/jorenham
Jul 16, 2025 https://github.com/python/typeshed/pull/14375#ref-issue-2475346254
TYP: Error when calling min() or max() on NumPy scalars numpy/numpy#27251 https://github.com/numpy/numpy/issues/27251
https://github.com/cdce8p
cdce8phttps://github.com/cdce8p
Aug 4, 2025 https://github.com/python/typeshed/pull/14375#ref-pullrequest-3289123053
Sync typeshed python/mypy#19585 https://github.com/python/mypy/pull/19585
https://github.co/hiddenchars
https://github.com/python/typeshed/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%2Ftypeshed%2Fpull%2F14375
https://github.com/srittau
srittau https://github.com/srittau
https://github.com/python/typeshed/pull/14375/files/450799626174c3a189229915b7dfbb164b8510b0
https://github.com/jorenham
jorenham https://github.com/jorenham
https://github.com/python/typeshed/pull/14375/files/48e5c71048d9b3bc335fda5df2ef0413f5959685
Please reload this pagehttps://github.com/python/typeshed/pull/14375
False positive with builtins.min(T, T) if T.__lt__ doesn't return a builtins.bool https://github.com/python/typeshed/issues/12562
Please reload this pagehttps://github.com/python/typeshed/pull/14375
https://github.com/randolf-scholz
https://github.com/srittau
https://github.com/jorenham
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.