python / python/cpython

`import Lib.os` works on windows (but shouldn't)

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

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

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

説明

BPO 37089
Nosy @gvanrossum, @terryjreedy, @pfmoore, @vstinner, @tjguk, @zware, @eryksun, @zooba, @asottile

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 2019-05-29.20:52:39.102>
labels = ['3.8', 'library', '3.9', 'OS-windows']
title = "`import Lib.os` works on windows (but shouldn't)"
updated_at = <Date 2019-09-26.01:16:09.773>
user = 'https://github.com/asottile'

bugs.python.org fields:

activity = <Date 2019-09-26.01:16:09.773>
actor = 'vstinner'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Library (Lib)', 'Windows']
creation = <Date 2019-05-29.20:52:39.102>
creator = 'Anthony Sottile'
dependencies = []
files = []
hgrepos = []
issue_num = 37089
keywords = []
message_count = 9.0
messages = ['343923', '343924', '343926', '343928', '343938', '344133', '344631', '344665', '344745']
nosy_count = 9.0
nosy_names = ['gvanrossum', 'terry.reedy', 'paul.moore', 'vstinner', 'tim.golden', 'zach.ware', 'eryksun', 'steve.dower', 'Anthony Sottile']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = None
url = 'https://bugs.python.org/issue37089'
versions = ['Python 3.8', 'Python 3.9']

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

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

はじめの一歩

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

調査の方向性

Windows での import Lib.os の動作を再現し、他のプラットフォームで意図されている import の動作と比較します。このケースにおける標準ライブラリの import 処理を追跡し、その後リグレッションテストを追加して、無効な import が拒否される一方で有効な import が壊れないことを確認します。

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

評価

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

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

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