python / python/cpython

Documentation for new -W regex support fails to mention length requirement

オープン
#146,642 コメント 3 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

docs
主要言語
Python
スター
77.2k
フォーク
35.9k
PR マージ指標
PR 指標を取得中

説明

Documentation

-W will now support regex. The documentation says that “If it starts and ends with a forward slash (/)” the message field will be a regular expression. This is incorrect, there is an additional requirement that the field be at least two characters long. / is one character long and starts and ends with a forward slash, but it is not interpreted as a regex (it matches literal /).

Linked PRs
  • gh-147969

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

まず、-W の新しい正規表現サポートに関する CPython のドキュメントを見つけ、スラッシュで始まりスラッシュで終わるフィールドについての記述を確認します。これを issue の長さに関する要件と比較してください。ドキュメントが両方の条件を正確に説明していれば作業は完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
python
領域
documentation
issue の種類
ドキュメント
難易度
1/5
見積もり時間
1時間未満
活発さ
停滞
明瞭さ
明確に書かれている
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。