inspect.getsource gets source copy on disk even when module has not been reloaded
オープン
まだ誰も着手していません。
stdlib
- 主要言語
- Python
- スター
- 77.2k
- フォーク
- 36k
- PR マージ指標
- PR 指標を取得中
説明
| BPO | 26890 |
|---|---|
| Nosy | @1st1, @emilyemorehouse |
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-04-30.03:33:07.191>
labels = ['library']
title = 'inspect.getsource gets source copy on disk even when module has not been reloaded'
updated_at = <Date 2017-02-21.16:37:00.426>
user = 'https://bugs.python.org/sebastienbourdeauducq'
bugs.python.org fields:
activity = <Date 2017-02-21.16:37:00.426>
actor = 'emilyemorehouse'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Library (Lib)']
creation = <Date 2016-04-30.03:33:07.191>
creator = 'sebastien.bourdeauducq'
dependencies = []
files = []
hgrepos = []
issue_num = 26890
keywords = []
message_count = 2.0
messages = ['264538', '264539']
nosy_count = 3.0
nosy_names = ['yselivanov', 'sebastien.bourdeauducq', 'emilyemorehouse']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = None
url = 'https://bugs.python.org/issue26890'
versions = ['Python 3.5']
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
この issue では inspect.getsource が挙げられていますが、再現手順、ソースファイル、テストは提供されていません。まず、再読み込みせずにディスク上で変更されたモジュールを使ってその挙動を再現し、次に inspect ライブラリのエントリポイントを追跡して、回帰テストを定義する前に期待されるソース選択の挙動を特定してください。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python
- 領域
- tooling
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 35/100