| react-profiling | 0 |
| react-import-map | react,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-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:f778b8a7-cb2f-96f7-e4d7-0a3c58074c8b |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | CC32:1D7BA0:62C243:8468AC:6B00349A |
| html-safe-nonce | 263144f882bdcb3616d88aeee5290531c28903a2aa008b5a4679c5273d5980fa |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQzMyOjFEN0JBMDo2MkMyNDM6ODQ2OEFDOjZCMDAzNDlBIiwidmlzaXRvcl9pZCI6Ijc0MTc5MTA5MzQzNzY1NTk3NzAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 9fa376cc66505893a1e7aa2da0c1d9fb7c740c5f81ea0510310a7281fb994589 |
| hovercard-subject-tag | pull_request:2158091788 |
| 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 | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/typeshed/12939/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/d53a7b6390fab92b75f331d2ef129fbd8b2308e823f13a134d9eb89ca26c7268/python/typeshed/pull/12939 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/d53a7b6390fab92b75f331d2ef129fbd8b2308e823f13a134d9eb89ca26c7268/python/typeshed/pull/12939 |
| og:image:alt | Fixes #12562, alternative to #12573. Introduces a new protocol in _typeshed/__init__.pyi
class SupportsBool(Protocol):
def __bool__(self) -> bool: ...
Changes SupportsDunderLT and variants t... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | randolf-scholz |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7d0829bbde9e48b2486cb5dd6d147896eb01d32134627091f818958a935ef3f0 |
| turbo-cache-control | no-cache |
| go-import | github.com/python/typeshed git https://github.com/python/typeshed.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 31696383 |
| octolytics-dimension-repository_nwo | python/typeshed |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 31696383 |
| octolytics-dimension-repository_network_root_nwo | python/typeshed |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | f3f3a43ca095cdea3abbb394112e971f9fdb94fa |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://github.com/python/typeshed/pull/12939#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F12939 |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| 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 |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | 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/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F12939 |
| 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%2Ftypeshed |
| Reload | https://github.com/python/typeshed/pull/12939 |
| Reload | https://github.com/python/typeshed/pull/12939 |
| Reload | https://github.com/python/typeshed/pull/12939 |
| python | https://github.com/python |
| typeshed | https://github.com/python/typeshed |
| Code | https://github.com/python/typeshed |
| Issues196 (196) | https://github.com/python/typeshed/issues |
| Pull requests251 (251) | https://github.com/python/typeshed/pulls |
| Actions | https://github.com/python/typeshed/actions |
| Security and quality | https://github.com/python/typeshed/security |
| Insights | https://github.com/python/typeshed/insights |
| https://github.com/python/typeshed |
| srittau | https://github.com/srittau |
| python:main | https://github.com/python/typeshed/tree/main |
| randolf-scholz:supports_dunder_lt_supportsbool | https://github.com/randolf-scholz/typeshed/tree/supports_dunder_lt_supportsbool |
| Conversation | https://github.com/python/typeshed/pull/12939 |
| Commits8 (8) | https://github.com/python/typeshed/pull/12939/commits |
| Checks | https://github.com/python/typeshed/pull/12939/checks |
| Files changed | https://github.com/python/typeshed/pull/12939/files |
| Let SupportsDunderLT return SupportsBool instead of bool. | https://github.com/python/typeshed/pull/12939#top |
| srittau | https://github.com/srittau |
| python:main | https://github.com/python/typeshed/tree/main |
| randolf-scholz:supports_dunder_lt_supportsbool | https://github.com/randolf-scholz/typeshed/tree/supports_dunder_lt_supportsbool |
|
| https://github.com/randolf-scholz |
| randolf-scholz | https://github.com/randolf-scholz |
| Nov 1, 2024 | https://github.com/python/typeshed/pull/12939#issue-2629063833 |
| Please reload this page | https://github.com/python/typeshed/pull/12939 |
| #12562 | https://github.com/python/typeshed/issues/12562 |
| #12573 | https://github.com/python/typeshed/pull/12573 |
| earlier comment | https://github.com/python/typeshed/issues/12562#issuecomment-2302475367 |
| JelleZijlstra | https://github.com/JelleZijlstra |
| pyright playground | https://pyright-play.net/?code=GYJw9gtgBALgngBwJYDsDmUkQWEMoAK4MYAxmADYA0UIArijFgKYD6pAFs6QNYCGAIwrMAUCIAC9Ri3Zdeg4SNIU%2BAZ1VQAynQQ48qgEJhKACiJgS5CgEoAXCKiOoAE2bAorVgOMVPJ1cwUwNZQALQAfFDelLZQAHQJYgAesdq6uDCGPlAAvFAAKvSicKk6eplGlLlQYAIAVtwwJiFQAMRQEIglUIAy5FAIcCBIaBwwsb1iagF4mKqoqjB8KKTMJkk0aeVZlC3tgKDkIlPMMygWs-OLy6twG2UZ2zaO%2ByJAA |
| object.__bool__ | https://docs.python.org/3/reference/datamodel.html#object.__bool__ |
| Please reload this page | https://github.com/python/typeshed/pull/12939 |
|
| https://github.com/randolf-scholz |
| added SupportsBool | https://github.com/python/typeshed/pull/12939/commits/a4059c24d9ce8fe2c3fa60c010d9c932cf6926c1 |
| a4059c2 | https://github.com/python/typeshed/pull/12939/commits/a4059c24d9ce8fe2c3fa60c010d9c932cf6926c1 |
| https://github.com/randolf-scholz |
| randolf-scholz | https://github.com/randolf-scholz |
| force-pushed | https://github.com/python/typeshed/compare/ac2cabd05d008ccc1fa09b9d5fb276a96fc2f5a7..a4059c24d9ce8fe2c3fa60c010d9c932cf6926c1 |
| ac2cabd | https://github.com/python/typeshed/commit/ac2cabd05d008ccc1fa09b9d5fb276a96fc2f5a7 |
| a4059c2 | https://github.com/python/typeshed/commit/a4059c24d9ce8fe2c3fa60c010d9c932cf6926c1 |
|
Compare
| https://github.com/python/typeshed/compare/ac2cabd05d008ccc1fa09b9d5fb276a96fc2f5a7..a4059c24d9ce8fe2c3fa60c010d9c932cf6926c1 |
| November 1, 2024 13:49 | https://github.com/python/typeshed/pull/12939#event-15068393876 |
| https://github.com/apps/github-actions |
| Sign in to view | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F12939 |
| https://github.com/randolf-scholz |
| randolf-scholz | https://github.com/randolf-scholz |
| November 1, 2024 13:57 | https://github.com/python/typeshed/pull/12939#event-15068624756 |
| https://github.com/randolf-scholz |
| randolf-scholz | https://github.com/randolf-scholz |
| Nov 1, 2024 | https://github.com/python/typeshed/pull/12939#event-15068648298 |
| https://github.com/randolf-scholz |
| randolf-scholz | https://github.com/randolf-scholz |
|
Nov 1, 2024
| https://github.com/python/typeshed/pull/12939#ref-pullrequest-2478466067 |
|
Experiment: Let SupportsDunderLT return object.
#12573
| https://github.com/python/typeshed/pull/12573 |
| https://github.com/jorenham |
| jorenham | https://github.com/jorenham |
|
Nov 1, 2024
| https://github.com/python/typeshed/pull/12939#pullrequestreview-2410201571 |
|
View reviewed changes
| https://github.com/python/typeshed/pull/12939/files/a4059c24d9ce8fe2c3fa60c010d9c932cf6926c1 |
| stdlib/_typeshed/__init__.pyi | https://github.com/python/typeshed/pull/12939/files/a4059c24d9ce8fe2c3fa60c010d9c932cf6926c1#diff-a3613e85580869c0367d2d8a73f77fa3d00185b5ffee724958f7ddd69d865793 |
| Please reload this page | https://github.com/python/typeshed/pull/12939 |
| https://github.com/jorenham |
| jorenham | https://github.com/jorenham |
| Nov 1, 2024 | https://github.com/python/typeshed/pull/12939#issuecomment-2451995485 |
| Please reload this page | https://github.com/python/typeshed/pull/12939 |
| https://github.com/randolf-scholz |
| randolf-scholz | https://github.com/randolf-scholz |
| Nov 1, 2024 | https://github.com/python/typeshed/pull/12939#issuecomment-2452069197 |
| python/typing#1355 | https://github.com/python/typing/issues/1355 |
| … | https://github.com/python/typeshed/pull/12939 |
| #12939 (comment) | https://github.com/python/typeshed/pull/12939#issuecomment-2451995485 |
| https://github.com/notifications/unsubscribe-auth/AJO3RGFNL23MLRPRRWMDBU3Z6OHY5AVCNFSM6AAAAABRAJIIOOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINJRHE4TKNBYGU | https://github.com/notifications/unsubscribe-auth/AJO3RGFNL23MLRPRRWMDBU3Z6OHY5AVCNFSM6AAAAABRAJIIOOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINJRHE4TKNBYGU |
| Please reload this page | https://github.com/python/typeshed/pull/12939 |
| https://github.com/jorenham |
| jorenham | https://github.com/jorenham |
| Nov 1, 2024 | https://github.com/python/typeshed/pull/12939#issuecomment-2452077959 |
| @randolf-scholz | https://github.com/randolf-scholz |
| Please reload this page | https://github.com/python/typeshed/pull/12939 |
|
| https://github.com/randolf-scholz |
| Merge branch 'main' into supports_dunder_lt_supportsbool | https://github.com/python/typeshed/pull/12939/commits/6f0b9bdc2aabfd8156e34f556035a2394fcb9841 |
| 6f0b9bd | https://github.com/python/typeshed/pull/12939/commits/6f0b9bdc2aabfd8156e34f556035a2394fcb9841 |
| https://github.com/apps/github-actions |
| Sign in to view | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F12939 |
| https://github.com/randolf-scholz |
| randolf-scholz | https://github.com/randolf-scholz |
| Nov 5, 2024 | https://github.com/python/typeshed/pull/12939#issuecomment-2456575201 |
| Please reload this page | https://github.com/python/typeshed/pull/12939 |
| BooleanValue | https://github.com/ibis-project/ibis/blob/00d83f393927b799339cecd6d4272df7feff0651/ibis/expr/types/logical.py#L18 |
| Value.__ge__ | https://github.com/ibis-project/ibis/blob/00d83f393927b799339cecd6d4272df7feff0651/ibis/expr/types/generic.py#L1182-L1192 |
| Please reload this page | https://github.com/python/typeshed/pull/12939 |
|
| https://github.com/randolf-scholz |
| Merge branch 'main' into supports_dunder_lt_supportsbool | https://github.com/python/typeshed/pull/12939/commits/e2270996bb88a1e9ae9a114857b4fc2f6db5f4d7 |
| e227099 | https://github.com/python/typeshed/pull/12939/commits/e2270996bb88a1e9ae9a114857b4fc2f6db5f4d7 |
| https://github.com/apps/github-actions |
| Sign in to view | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F12939 |
|
| https://github.com/randolf-scholz |
| Merge branch 'main' into supports_dunder_lt_supportsbool | https://github.com/python/typeshed/pull/12939/commits/1e6d274db334bd5f8f478700e79f3df3e393418c |
| 1e6d274 | https://github.com/python/typeshed/pull/12939/commits/1e6d274db334bd5f8f478700e79f3df3e393418c |
| https://github.com/apps/github-actions |
| Sign in to view | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F12939 |
|
| https://github.com/randolf-scholz |
| Merge branch 'main' into supports_dunder_lt_supportsbool | https://github.com/python/typeshed/pull/12939/commits/3e689aea143df4135ca08ac467171e53990a6aa1 |
| 3e689ae | https://github.com/python/typeshed/pull/12939/commits/3e689aea143df4135ca08ac467171e53990a6aa1 |
| https://github.com/apps/github-actions |
| Sign in to view | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F12939 |
|
| https://github.com/randolf-scholz |
| Merge branch 'main' into supports_dunder_lt_supportsbool | https://github.com/python/typeshed/pull/12939/commits/c840a321a6aab5c3435b506f5ab2680d5e099918 |
| c840a32 | https://github.com/python/typeshed/pull/12939/commits/c840a321a6aab5c3435b506f5ab2680d5e099918 |
| https://github.com/apps/github-actions |
| Sign in to view | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F12939 |
|
| https://github.com/randolf-scholz |
| Merge branch 'main' into supports_dunder_lt_supportsbool | https://github.com/python/typeshed/pull/12939/commits/efdde065c5b0824b78b03a8377e6bb0737323c2d |
| efdde06 | https://github.com/python/typeshed/pull/12939/commits/efdde065c5b0824b78b03a8377e6bb0737323c2d |
| https://github.com/apps/github-actions |
| Sign in to view | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F12939 |
|
| https://github.com/srittau |
| Merge branch 'main' into supports_dunder_lt_supportsbool | https://github.com/python/typeshed/pull/12939/commits/b5835618b55906e278525ce233b17e913f4da232 |
| b583561 | https://github.com/python/typeshed/pull/12939/commits/b5835618b55906e278525ce233b17e913f4da232 |
| https://github.com/srittau |
| srittau | https://github.com/srittau |
|
Jul 7, 2025
| https://github.com/python/typeshed/pull/12939#pullrequestreview-2994044367 |
|
View reviewed changes
| https://github.com/python/typeshed/pull/12939/files/b5835618b55906e278525ce233b17e913f4da232 |
| srittau | https://github.com/srittau |
| https://github.com/python/typeshed/pull/12939#pullrequestreview-2994044367 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/typeshed/pull/12939 |
| https://github.com/apps/github-actions |
| github-actions | https://github.com/apps/github-actions |
| Jul 7, 2025 | https://github.com/python/typeshed/pull/12939#issuecomment-3045358094 |
| mypy_primer | https://github.com/hauntsaninja/mypy_primer |
| Please reload this page | https://github.com/python/typeshed/pull/12939 |
| https://github.com/srittau |
| srittau | https://github.com/srittau |
| Jul 7, 2025 | https://github.com/python/typeshed/pull/12939#issuecomment-3045363821 |
| Please reload this page | https://github.com/python/typeshed/pull/12939 |
| https://github.com/srittau |
| srittau | https://github.com/srittau |
| aed8025 | https://github.com/python/typeshed/commit/aed8025d62277845e0cb8d8a80ea046325bc9614 |
| Jul 7, 2025 | https://github.com/python/typeshed/pull/12939#event-18506553669 |
| srittau | https://github.com/srittau |
|
Jul 7, 2025
| https://github.com/python/typeshed/pull/12939#ref-commit-b05c701 |
|
| https://github.com/srittau |
| Revert "Let SupportsDunderLT return SupportsBool instead of `bool… | https://github.com/srittau/typeshed/commit/b05c701cc5513799ad97dbe6142d5e5db08f8d26 |
| b05c701 | https://github.com/srittau/typeshed/commit/b05c701cc5513799ad97dbe6142d5e5db08f8d26 |
| python#12939 | https://github.com/python/typeshed/pull/12939 |
| aed8025 | https://github.com/srittau/typeshed/commit/aed8025d62277845e0cb8d8a80ea046325bc9614 |
| srittau | https://github.com/srittau |
|
Jul 7, 2025
| https://github.com/python/typeshed/pull/12939#ref-commit-096cf56 |
|
| https://github.com/srittau |
| Revert "Let SupportsDunderLT return SupportsBool instead of `bool… ( | https://github.com/python/typeshed/commit/096cf56da3a42459278ab5c1a4d929a90ba13a65 |
| 096cf56 | https://github.com/python/typeshed/commit/096cf56da3a42459278ab5c1a4d929a90ba13a65 |
| #14373 | https://github.com/python/typeshed/pull/14373 |
| #12939 | https://github.com/python/typeshed/pull/12939 |
| aed8025 | https://github.com/python/typeshed/commit/aed8025d62277845e0cb8d8a80ea046325bc9614 |
| https://github.com/randolf-scholz |
| randolf-scholz | https://github.com/randolf-scholz |
|
Jul 7, 2025
| https://github.com/python/typeshed/pull/12939#ref-pullrequest-3209689613 |
|
Require SupportsBool instead of bool for comparisons.
#14375
| https://github.com/python/typeshed/pull/14375 |
| https://github.co/hiddenchars |
| https://github.com/python/typeshed/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F12939 |
|
| https://github.com/srittau |
|
srittau
| https://github.com/srittau |
|
| https://github.com/python/typeshed/pull/12939/files/b5835618b55906e278525ce233b17e913f4da232 |
|
| https://github.com/jorenham |
|
jorenham
| https://github.com/jorenham |
|
| https://github.com/python/typeshed/pull/12939/files/a4059c24d9ce8fe2c3fa60c010d9c932cf6926c1 |
| Please reload this page | https://github.com/python/typeshed/pull/12939 |
|
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 page | https://github.com/python/typeshed/pull/12939 |
|
| https://github.com/randolf-scholz |
|
| https://github.com/jorenham |
|
| https://github.com/srittau |
|
| 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 |