[Windows] scandir returns filenotfound for long paths but os.walk does not
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- python
調査の方向性
まず、issue に記載されている長いディレクトリ構造を使って Windows 上で test_dir_scan_dir.py を実行し、その後、test_os_walk.py と動作を比較します。scandir に関連するパス処理を調査し、os.walk が引き続き動作する一方で、長いパスによって FileNotFoundError が発生しなくなったことを確認します。焦点を絞った回帰テストで動作を確認します。
索引モデルが issue の本文から書いたものです。
説明
| BPO | 46084 |
|---|---|
| Nosy | @pfmoore, @tjguk, @jkloth, @zware, @serhiy-storchaka, @eryksun, @zooba |
| Files |
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-12-15.14:54:30.143>
labels = ['expert-IO', 'tests', 'OS-windows', 'type-crash', '3.9']
title = 'Python 3.9.6 scan_dir returns filenotfound on long paths, but os_walk does not'
updated_at = <Date 2022-03-21.18:46:36.102>
user = 'https://bugs.python.org/jschwar313'
bugs.python.org fields:
activity = <Date 2022-03-21.18:46:36.102>
actor = 'jkloth'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Tests', 'Windows', 'IO']
creation = <Date 2021-12-15.14:54:30.143>
creator = 'jschwar313'
dependencies = []
files = ['50492', '50493', '50495']
hgrepos = []
issue_num = 46084
keywords = ['patch']
message_count = 13.0
messages = ['408607', '408608', '408617', '408619', '408621', '408623', '408625', '408626', '408632', '408634', '408636', '408643', '408649']
nosy_count = 8.0
nosy_names = ['paul.moore', 'tim.golden', 'jkloth', 'zach.ware', 'serhiy.storchaka', 'eryksun', 'steve.dower', 'jschwar313']
pr_nums = []
priority = 'normal'
resolution = None
stage = 'patch review'
status = 'open'
superseder = None
type = 'crash'
url = 'https://bugs.python.org/issue46084'
versions = ['Python 3.9']
- 主要言語
- Python
- スター
- 77.2k
- フォーク
- 36k
- 平均マージ
- 1日 9時間
- マージ済み PR(30日)
- 558
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
python/cpython のほかの issue
-
docs pending
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
stdlib type-feature
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
stdlib type-feature
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
-
build type-bug
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
-
stdlib topic-email type-feature
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
似ている issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
zostera/django-bootstrap4#894 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
use-agent-os/agent-os#3276 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
zephyrproject-rtos/zephyr#119726 ·
-
area/auth bug comp/agent P3 platform/discord type/security
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
NousResearch/hermes-agent#117848 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
zilliztech/memsearch#759 ·