Title: Add new or missing socket constants on linux · Issue #8101 · python/typeshed · GitHub
Open Graph Title: Add new or missing socket constants on linux · Issue #8101 · python/typeshed
X Title: Add new or missing socket constants on linux · Issue #8101 · python/typeshed
Description: We currently silence many errors from socket constants in stubtest, because the availability of some constants cannot be expressed in the type system (and probably also because historically we weren't always the best at specifying all pl...
Open Graph Description: We currently silence many errors from socket constants in stubtest, because the availability of some constants cannot be expressed in the type system (and probably also because historically we were...
X Description: We currently silence many errors from socket constants in stubtest, because the availability of some constants cannot be expressed in the type system (and probably also because historically we were...
Opengraph URL: https://github.com/python/typeshed/issues/8101
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Add new or missing socket constants on linux","articleBody":"We currently silence many errors from socket constants in stubtest, because the availability of some constants cannot be expressed in the type system (and probably also because historically we weren't always the best at specifying all platform differences exactly). However, this means we don't notice new additions.\r\n\r\nOn macOS, with python3.10:\r\n```\r\nλ python3.10 -m mypy.stubtest --custom-typeshed-dir ~/dev/typeshed socket --concise | grep 'is not present in stub'\r\nsocket.CAPI is not present in stub\r\nsocket.IP_RECVTOS is not present in stub\r\nsocket.PF_SYSTEM is not present in stub\r\nsocket.SYSPROTO_CONTROL is not present in stub\r\nsocket.TCP_KEEPALIVE is not present in stub\r\nsocket.TCP_NOTSENT_LOWAT is not present in stub\r\n[...]\r\n```\r\n\r\nI can add PRs for these / check this for Linux. Filing this issue mainly as a reminder for myself to do so. Would be good if someone wants to take another look at Windows.","author":{"url":"https://github.com/hauntsaninja","@type":"Person","name":"hauntsaninja"},"datePublished":"2022-06-19T07:27:23Z","url":"https://github.com/python/typeshed/issues/8101"}
| 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:f8d0afa1-69f6-89e6-fdff-51b064e4da1f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8F28:1DA29F:E17A90:125C4AE:6AFFEDEF |
| html-safe-nonce | 8c44ca208d626698b4947753e61f698249aa70ea276fd1a9deff28a255f0aea9 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RjI4OjFEQTI5RjpFMTdBOTA6MTI1QzRBRTo2QUZGRURFRiIsInZpc2l0b3JfaWQiOiIxMjMwMDM1NTkxMjA3MzE2OTc1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | d1d832fb7cebb60980de8f21fcaabd59f4494ef57a13afc098b8ef34bdf647f0 |
| hovercard-subject-tag | issue:1275977810 |
| 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/typeshed/8101/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ff3567a1370835798c5d6a11fda7c731dd45c7a540b3c072166a6e2548b9b176/python/typeshed/issues/8101 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ff3567a1370835798c5d6a11fda7c731dd45c7a540b3c072166a6e2548b9b176/python/typeshed/issues/8101 |
| og:image:alt | We currently silence many errors from socket constants in stubtest, because the availability of some constants cannot be expressed in the type system (and probably also because historically we were... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | hauntsaninja |
| hostname | github.com |
| expected-hostname | github.com |
| None | 0a0d8686a27478df474dd7415776a7a080cde8838b3cd92ea7601187572e5729 |
| turbo-cache-control | no-preview |
| 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 | 16a11879678aaf97e2a42c33ee70830aa084fa37 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width