socket.RDS_CMSG_RDMA_UPDATE doesn't seem to be real
まだ誰も着手していません。
- 主要言語
- Python
- スター
- 77.2k
- フォーク
- 35.9k
- PR マージ指標
- PR 指標を取得中
説明
Bug report
Bug description:
I was recently working through the constants in socket for typeshed. I found that RDS_CMSG_RDMA_UPDATE is not present in linux header files for any version of linux, and the only hits for a google search are python-related. I believe this is a typo for RDS_CMSG_CONG_UPDATE, which is the only RDS_*_UPDATE constant in rds.h: see the header file here
Given that it's been that way for 13 years without anyone noticing, I don't know if it should be fixed or if it should just be removed. Original issue: https://github.com/python/cpython/issues/52025
Original commit: https://github.com/python/cpython/commit/10b8cf4455f48eba93077535e4d03eba2ee4bbfb
CPython versions tested on:
CPython main branch
Operating systems tested on:
macOS
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
CPython の socket モジュールにある定数定義から始め、RDS_CMSG_RDMA_UPDATE と、リンクされている Linux ヘッダーファイル include/uapi/linux/rds.h を比較します。これが RDS_CMSG_CONG_UPDATE の誤記なのか、それとも削除すべきものなのかを確認し、その後、対象プラットフォームで socket 定数が一貫して動作することを検証します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python
- 領域
- networking, operating-systems
- issue の種類
- バグ
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 38/100