python / python/cpython

urlparse.urlparse() parses invalid URI without generating an error (examples provided)

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

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

3.10 3.11 3.9 (EOL) stdlib type-bug
主要言語
Python
スター
77.2k
フォーク
36k
平均マージ
1日 9時間
マージ済み PR(30日)
558

説明

BPO 28841
Nosy @orsenthil, @ericvsmith, @bitdancer, @vadmium, @serhiy-storchaka, @iritkatriel

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = None
closed_at = None
created_at = <Date 2016-11-30.15:57:05.823>
labels = ['type-bug', 'library', '3.9', '3.10', '3.11']
title = 'urlparse.urlparse() parses invalid URI without generating an error (examples provided)'
updated_at = <Date 2021-12-10.16:22:55.434>
user = 'https://bugs.python.org/amrith'

bugs.python.org fields:

activity = <Date 2021-12-10.16:22:55.434>
actor = 'iritkatriel'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Library (Lib)']
creation = <Date 2016-11-30.15:57:05.823>
creator = 'amrith'
dependencies = []
files = []
hgrepos = []
issue_num = 28841
keywords = []
message_count = 9.0
messages = ['282086', '282116', '282117', '282119', '282120', '282122', '282129', '282135', '408219']
nosy_count = 7.0
nosy_names = ['orsenthil', 'eric.smith', 'r.david.murray', 'martin.panter', 'serhiy.storchaka', 'amrith', 'iritkatriel']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue28841'
versions = ['Python 3.9', 'Python 3.10', 'Python 3.11']

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

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

はじめの一歩

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

調査の方向性

まず、issue で参照されている無効な URI のケースを再現し、エントリポイント urlparse.urlparse() と既存のテストを確認します。無効な URI が合意された動作に従って処理され、その動作がリグレッションカバレッジによって実証された時点で、issue は完了です。

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

評価

技術スタック
python
領域
networking
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

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

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