Different behavior for functiools.partial between inspect.isfunction() and other inspect.is*function()
オープン
まだ誰も着手していません。
3.10
stdlib
type-bug
- 主要言語
- Python
- スター
- 77.2k
- フォーク
- 36k
- 平均マージ
- 1日 9時間
- マージ済み PR(30日)
- 558
説明
| BPO | 46722 |
|---|---|
| Nosy | @IliyaZinoviev |
| 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 2022-02-11.15:26:49.488>
labels = ['type-bug', 'library', '3.10']
title = 'Different behavior for functiools.partial between inspect.isfunction() and other inspect.is*function()'
updated_at = <Date 2022-02-12.13:23:19.287>
user = 'https://github.com/IliyaZinoviev'
bugs.python.org fields:
activity = <Date 2022-02-12.13:23:19.287>
actor = 'IliyaZinoviev'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Library (Lib)']
creation = <Date 2022-02-11.15:26:49.488>
creator = 'IliyaZinoviev'
dependencies = []
files = ['50621']
hgrepos = []
issue_num = 46722
keywords = []
message_count = 4.0
messages = ['413077', '413111', '413127', '413128']
nosy_count = 2.0
nosy_names = ['Kevin Shweh', 'IliyaZinoviev']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue46722'
versions = ['Python 3.10']
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、添付された再現プログラム isfuncs_behavior.py を実行し、functools.partial に対する結果を inspect.isfunction() およびその他の inspect.is*function() 述語と比較してください。inspect の関連する挙動と既存のテストを読み、そのうえで意図された一貫性を明確にしてテストカバレッジを追加してください。差異が解消され、回帰テストがパスすれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python
- 領域
- tooling
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100