@staticmethod seems to work with setUpClass, but docs say it shouldn't
オープン
まだ誰も着手していません。
3.7 (EOL)
stdlib
type-bug
- 主要言語
- Python
- スター
- 77.2k
- フォーク
- 36k
- 平均マージ
- 1日 9時間
- マージ済み PR(30日)
- 558
説明
| BPO | 36569 |
|---|---|
| Nosy | @brettcannon, @rbtcollins, @ezio-melotti, @voidspace, @tirkarthi |
| 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 2019-04-09.05:40:35.008>
labels = ['3.7', 'type-bug', 'library']
title = "@staticmethod seems to work with setUpClass, but docs say it shouldn't"
updated_at = <Date 2019-04-09.21:34:14.473>
user = 'https://bugs.python.org/PeterdeBlanc'
bugs.python.org fields:
activity = <Date 2019-04-09.21:34:14.473>
actor = 'brett.cannon'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Library (Lib)']
creation = <Date 2019-04-09.05:40:35.008>
creator = 'Peter de Blanc'
dependencies = []
files = ['48251']
hgrepos = []
issue_num = 36569
keywords = []
message_count = 3.0
messages = ['339700', '339705', '339810']
nosy_count = 6.0
nosy_names = ['brett.cannon', 'rbcollins', 'ezio.melotti', 'michael.foord', 'xtreak', 'Peter de Blanc']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue36569'
versions = ['Python 3.6', 'Python 3.7']
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
添付された test_bar.py から始め、Python で実行して @staticmethod と setUpClass の挙動を再現します。次に、観測された結果を setUpClass のドキュメントと比較します。文書化された制限と実際の挙動の不一致が解消され、適切なテストまたはドキュメントでカバーされた時点で、issue は完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python
- 領域
- testing
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 35/100