Title: Retain `None` as constraints bottom if no bottoms were provided by sterliakov · Pull Request #19485 · python/mypy · GitHub
Open Graph Title: Retain `None` as constraints bottom if no bottoms were provided by sterliakov · Pull Request #19485 · python/mypy
X Title: Retain `None` as constraints bottom if no bottoms were provided by sterliakov · Pull Request #19485 · python/mypy
Description: Current version replaces None (which indicates "no items") with an empty union (=Uninhabited). This breaks inference in some cases. Fixes #19483.
Open Graph Description: Current version replaces None (which indicates "no items") with an empty union (=Uninhabited). This breaks inference in some cases. Fixes #19483.
X Description: Current version replaces None (which indicates "no items") with an empty union (=Uninhabited). This breaks inference in some cases. Fixes #19483.
Opengraph URL: https://github.com/python/mypy/pull/19485
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files/:range(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:e712cc48-fb78-e806-97d9-d6cb7ea0f7a3 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | E4C4:16C596:4F08E42:693E62F:6A65586A |
| html-safe-nonce | fd6ab23c90250b37b6e0fe1f482af5539e376857f05007e40f2a011504d80a12 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNEM0OjE2QzU5Njo0RjA4RTQyOjY5M0U2MkY6NkE2NTU4NkEiLCJ2aXNpdG9yX2lkIjoiODMxNTA1ODUzMzY3Njk2Mzk0NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 0613a157475bbfd981266af56d31cee27be0e43f559402714a1c7bfdfc2a19f4 |
| hovercard-subject-tag | pull_request:2682313857 |
| 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 | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python/mypy/pull/19485/files/82f3c7421fdd11422885698a33af2a64f63084ba |
| twitter:image | https://avatars.githubusercontent.com/u/50529348?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/50529348?s=400&v=4 |
| og:image:alt | Current version replaces None (which indicates "no items") with an empty union (=Uninhabited). This breaks inference in some cases. Fixes #19483. |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 52c76df668885aaff23b50bdca1fa1ea44ac9c1553e888ebc70ff1e4daa4625b |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 309153364422b3c499922d1a2a6404910a58ed8e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width