class _IPv6Constants._reserved_networks should include fec0::/10
まだ誰も着手していません。
- 主要言語
- Python
- スター
- 77.2k
- フォーク
- 35.9k
- PR マージ指標
- PR 指標を取得中
説明
Bug report
This is a follow-up of: https://github.com/python/cpython/pull/136794
Bug description:
IPv6 address block fec0::/10 has been deprecated in 2004 as a "Site-Local scoped address prefix" and is now a `` (see Internet Protocol Version 6 Address Space and RFC 3879).
class _IPv6Constants._reserved_networks is still missing address block fec0::/10 from the list: https://github.com/python/cpython/blob/main/Lib/ipaddress.py#L2402-L2411
We should add that address block to the list and update the documentation (https://docs.python.org/3/library/ipaddress.html#ipaddress.IPv4Address.is_reserved)
The question is do we also:
- remove the
is_site_localproperty since according to RFC 3879, these addresses have been completely deprecated? (= breaking change) - keep the
is_site_localproperty to avoid breaking changes, but always returnFalseas there is no such address block anymore?
CPython versions tested on:
CPython main branch
Operating systems tested on:
Windows
Linked PRs
- gh-151927
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
Lib/ipaddress.py のクラス _IPv6Constants._reserved_networks から始め、リンクされているフォローアップ PR gh-151927 を確認してから、issue で参照されている ipaddress ドキュメントのセクションを確認してください。fec0::/10 の動作とドキュメントが一貫して更新され、is_site_local の互換性に関する問題が解決されれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python
- 領域
- networking
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100