Title: Outdated `socket.NETLINK_*` constants · Issue #127072 · python/cpython · GitHub
Open Graph Title: Outdated `socket.NETLINK_*` constants · Issue #127072 · python/cpython
X Title: Outdated `socket.NETLINK_*` constants · Issue #127072 · python/cpython
Description: Feature or enhancement Proposal: When working through the constants in socket for typeshed, I found that these appear to be obsolete: NETLINK_ARPD: int # linux 2.0 to 2.6.12 (EOL August 2005) NETLINK_ROUTE6: int # linux 2.2 to 2.6.12 (EO...
Open Graph Description: Feature or enhancement Proposal: When working through the constants in socket for typeshed, I found that these appear to be obsolete: NETLINK_ARPD: int # linux 2.0 to 2.6.12 (EOL August 2005) NETLI...
X Description: Feature or enhancement Proposal: When working through the constants in socket for typeshed, I found that these appear to be obsolete: NETLINK_ARPD: int # linux 2.0 to 2.6.12 (EOL August 2005) NETLI...
Opengraph URL: https://github.com/python/cpython/issues/127072
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Outdated `socket.NETLINK_*` constants ","articleBody":"# Feature or enhancement\r\n\r\n### Proposal:\r\n\r\nWhen working through the constants in `socket` for typeshed, I found that these appear to be obsolete:\r\n\r\n```python\r\nNETLINK_ARPD: int # linux 2.0 to 2.6.12 (EOL August 2005)\r\nNETLINK_ROUTE6: int # linux 2.2 to 2.6.12 (EOL August 2005)\r\nNETLINK_SKIP: int # linux 2.0 to 2.6.12 (EOL August 2005)\r\nNETLINK_TAPBASE: int # linux 2.2 to 2.6.12 (EOL August 2005)\r\nNETLINK_TCPDIAG: int # linux 2.6.0 to 2.6.13 (EOL December 2005)\r\nNETLINK_W1: int # linux 2.6.13 to 2.6.17 (EOL October 2006)\r\n```\r\n\r\nThe netlink constants are defined in `include/linux/netlink.h` on linux 2.0 to 3.6. Starting in 3.7 they moved to `include/uapi/linux/netlink.h`. I've annotated these with the versions of linux where I was able to find them, and confirmed that they're not present in FreeBSD's Netlink implementation either.\r\n\r\nI suspect these can be safely removed, but I'm not terribly familiar with Netlink myself.\r\n\r\n### Has this already been discussed elsewhere?\r\n\r\nThis is a minor feature, which does not need previous discussion elsewhere\r\n\r\n### Links to previous discussion of this feature:\r\n\r\n_No response_\n\n\u003c!-- gh-linked-prs -->\n### Linked PRs\n* gh-127256\n\u003c!-- /gh-linked-prs -->\n","author":{"url":"https://github.com/tungol","@type":"Person","name":"tungol"},"datePublished":"2024-11-20T19:27:10Z","url":"https://github.com/python/cpython/issues/127072"}
| 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:257802df-96e7-8de4-8162-7edc3074234f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9DA2:DCDA8:2571EAF:30AB98D:6AFFF41F |
| html-safe-nonce | 0d3b516189f3a6e5dec0f09445d5df3fc272ac72e8f3b106e1f66cb00e2910a9 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5REEyOkRDREE4OjI1NzFFQUY6MzBBQjk4RDo2QUZGRjQxRiIsInZpc2l0b3JfaWQiOiI0MTE2MDE2ODIzOTgyMzU1NDg3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 4c66e4fe9342ef965eff7ffc94d208d4bf481f7f976e8ea698333d2a6bccc5be |
| hovercard-subject-tag | issue:2676963980 |
| 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/cpython/127072/issue_layout |
| twitter:image | https://opengraph.githubassets.com/17f4c3118e8d5286a4333a7688b1023b3527f53807770d97a030849c09853b0e/python/cpython/issues/127072 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/17f4c3118e8d5286a4333a7688b1023b3527f53807770d97a030849c09853b0e/python/cpython/issues/127072 |
| og:image:alt | Feature or enhancement Proposal: When working through the constants in socket for typeshed, I found that these appear to be obsolete: NETLINK_ARPD: int # linux 2.0 to 2.6.12 (EOL August 2005) NETLI... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | tungol |
| hostname | github.com |
| expected-hostname | github.com |
| None | 0a0d8686a27478df474dd7415776a7a080cde8838b3cd92ea7601187572e5729 |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| 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