Intercepting thread lock objects not working under context managers
オープン
まだ誰も着手していません。
3.10
3.7 (EOL)
3.8 (EOL)
3.9 (EOL)
docs
topic-profiling
type-bug
- 主要言語
- Python
- スター
- 77.2k
- フォーク
- 36k
- PR マージ指標
- PR 指標を取得中
説明
| BPO | 42705 |
|---|---|
| Nosy | @rhettinger, @vstinner, @merwok, @dstufft, @mhmdkanj |
| 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 2020-12-21.15:11:17.394>
labels = ['type-bug', '3.8', '3.9', '3.10', 'expert-C-API', '3.7', 'docs']
title = 'Intercepting thread lock objects not working under context managers'
updated_at = <Date 2021-01-17.12:27:24.728>
user = 'https://github.com/mhmdkanj'
bugs.python.org fields:
activity = <Date 2021-01-17.12:27:24.728>
actor = 'jkloth'
assignee = 'docs@python'
closed = False
closed_date = None
closer = None
components = ['Demos and Tools', 'Documentation', 'C API']
creation = <Date 2020-12-21.15:11:17.394>
creator = 'mhmdkanj'
dependencies = []
files = ['49695']
hgrepos = []
issue_num = 42705
keywords = []
message_count = 3.0
messages = ['383530', '383557', '383560']
nosy_count = 6.0
nosy_names = ['rhettinger', 'vstinner', 'eric.araujo', 'docs@python', 'dstufft', 'mhmdkanj']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue42705'
versions = ['Python 3.6', 'Python 3.7', 'Python 3.8', 'Python 3.9', 'Python 3.10']
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、添付された tracing-locking-mechanisms.py の再現プログラムを読み、実行します。次に、関連する Python C API のドキュメントと、lock およびコンテキストマネージャーの挙動を調べます。lock をコンテキストマネージャーとして使用した場合にのみインターセプトが失敗する理由を特定します。この形式で再現プログラムが動作し、影響を受けるドキュメントまたは挙動がカバーされれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- c, python
- 領域
- api, documentation
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100