inspect.getsourceslines() consider lambda of one line only
オープン
まだ誰も着手していません。
3.10
3.9 (EOL)
extension-modules
OS-windows
stdlib
type-bug
- 主要言語
- Python
- スター
- 77.2k
- フォーク
- 36k
- PR マージ指標
- PR 指標を取得中
説明
| BPO | 44474 |
|---|---|
| Nosy | @pfmoore, @tjguk, @zware, @zooba, @Welgriv |
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-06-21.13:33:42.251>
labels = ['type-bug', '3.9', '3.10', 'extension-modules', 'library', 'OS-windows']
title = 'inspect.getsourceslines() consider lambda of one line only'
updated_at = <Date 2021-06-21.13:33:42.251>
user = 'https://github.com/Welgriv'
bugs.python.org fields:
activity = <Date 2021-06-21.13:33:42.251>
actor = 'Welgriv'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Extension Modules', 'Library (Lib)', 'Windows']
creation = <Date 2021-06-21.13:33:42.251>
creator = 'Welgriv'
dependencies = []
files = []
hgrepos = []
issue_num = 44474
keywords = []
message_count = 1.0
messages = ['396245']
nosy_count = 5.0
nosy_names = ['paul.moore', 'tim.golden', 'zach.ware', 'steve.dower', 'Welgriv']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue44474'
versions = ['Python 3.9', 'Python 3.10']
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、Windows 上で1行の lambda を使って、報告された inspect.getsourcelines() の動作を再現します。inspect モジュールのソース抽出時の動作を読み、結果を issue に記載されている期待される処理と比較します。動作が修正され、適切な回帰テストでカバーされれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python
- 領域
- tooling
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 25/100