python / python/cpython

shutil.copytree can raise OSErrors not wrapped in shutil.Error

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

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

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

説明

BPO 45942
Nosy @Floozutter

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 2021-11-30.23:54:43.920>
labels = ['type-bug', 'library', '3.10']
title = 'shutil.copytree can raise OSErrors not wrapped in shutil.Error'
updated_at = <Date 2021-11-30.23:54:43.920>
user = 'https://github.com/Floozutter'

bugs.python.org fields:

activity = <Date 2021-11-30.23:54:43.920>
actor = 'Floozutter'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Library (Lib)']
creation = <Date 2021-11-30.23:54:43.920>
creator = 'Floozutter'
dependencies = []
files = []
hgrepos = []
issue_num = 45942
keywords = []
message_count = 1.0
messages = ['407413']
nosy_count = 1.0
nosy_names = ['Floozutter']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue45942'
versions = ['Python 3.10']

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

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

はじめの一歩

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

調査の方向性

まず、標準ライブラリ内の shutil.copytree と既存の shutil.Error の処理を探します。現在 OSError を発生させる copytree の失敗を再現し、その後、関連するテストを調べ、該当するエラーが一貫して shutil.Error にラップされることを示すカバレッジを追加します。

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

評価

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

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

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