Title: Regression - Module "_typeshed" has no attribute "SupportsLessThan" · Issue #12355 · python/mypy · GitHub
Open Graph Title: Regression - Module "_typeshed" has no attribute "SupportsLessThan" · Issue #12355 · python/mypy
X Title: Regression - Module "_typeshed" has no attribute "SupportsLessThan" · Issue #12355 · python/mypy
Description: Bug Report The example of using SupportsLessThan in the documentation does not work in mypy 0.941 or 0.940. To Reproduce https://mypy-play.net/?mypy=0.931&python=3.10&gist=6ad43abe09b33cd9dceea02d40c0224d Works correctly on 0.931, but no...
Open Graph Description: Bug Report The example of using SupportsLessThan in the documentation does not work in mypy 0.941 or 0.940. To Reproduce https://mypy-play.net/?mypy=0.931&python=3.10&gist=6ad43abe09b33cd9dceea02d4...
X Description: Bug Report The example of using SupportsLessThan in the documentation does not work in mypy 0.941 or 0.940. To Reproduce https://mypy-play.net/?mypy=0.931&python=3.10&gist=6ad43abe09b33cd9d...
Opengraph URL: https://github.com/python/mypy/issues/12355
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Regression - Module \"_typeshed\" has no attribute \"SupportsLessThan\"","articleBody":"**Bug Report**\r\n\r\nThe example of using `SupportsLessThan` in [the documentation](https://mypy.readthedocs.io/en/stable/runtime_troubles.html#using-types-defined-in-stubs-but-not-at-runtime) does not work in mypy 0.941 or 0.940.\r\n\r\n**To Reproduce**\r\n\r\nhttps://mypy-play.net/?mypy=0.931&python=3.10&gist=6ad43abe09b33cd9dceea02d40c0224d\r\n\r\nWorks correctly on 0.931, but not 0.941 or 0.940.","author":{"url":"https://github.com/Zeckie","@type":"Person","name":"Zeckie"},"datePublished":"2022-03-15T09:30:11Z","url":"https://github.com/python/mypy/issues/12355"}
| 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/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:c52ccca4-de29-a60a-61e2-63efa3798f25 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E11A:117C62:5EFC02:809D5B:6B00D4F5 |
| html-safe-nonce | 1865750bf3aa19e1348fde10a201b788c3e09eb04833c22bf41654d1628ece03 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMTFBOjExN0M2Mjo1RUZDMDI6ODA5RDVCOjZCMDBENEY1IiwidmlzaXRvcl9pZCI6IjQ2MjA5MjQxNzI3NTM3NTMzMzMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | ed6c7ec8f6ae5415c8c7e6fd65e5fa26c77c17af7f2d861a9964836cc55b0b3b |
| hovercard-subject-tag | issue:1169405705 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/mypy/12355/issue_layout |
| twitter:image | https://opengraph.githubassets.com/f07f5a6eec116e1995fdbe8ae458e50a5b23486258c789f3731f75c6a264792d/python/mypy/issues/12355 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f07f5a6eec116e1995fdbe8ae458e50a5b23486258c789f3731f75c6a264792d/python/mypy/issues/12355 |
| og:image:alt | Bug Report The example of using SupportsLessThan in the documentation does not work in mypy 0.941 or 0.940. To Reproduce https://mypy-play.net/?mypy=0.931&python=3.10&gist=6ad43abe09b33cd9dceea02d4... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Zeckie |
| hostname | github.com |
| expected-hostname | github.com |
| None | a481f62a1e04c9b9bdcb5628230682c66d59006f5b13b080f79cba84a176905b |
| turbo-cache-control | no-preview |
| go-import | github.com/python/mypy git https://github.com/python/mypy.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 7053637 |
| octolytics-dimension-repository_nwo | python/mypy |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 7053637 |
| octolytics-dimension-repository_network_root_nwo | python/mypy |
| 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 | 84c8c5cc25e2fb7f2308428458538436baecc6d2 |
| ui-target | canary-1 |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width