Weakref callbacks running before finalizers in GC collection
オープン
まだ誰も着手していません。
3.7 (EOL)
3.8 (EOL)
3.9 (EOL)
interpreter-core
type-bug
- 主要言語
- Python
- スター
- 77.2k
- フォーク
- 36k
- PR マージ指標
- PR 指標を取得中
説明
| BPO | 40312 |
|---|---|
| Nosy | @tim-one, @pablogsal, @a-feld |
| 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-04-17.19:52:40.901>
labels = ['interpreter-core', '3.8', 'type-bug', '3.7', '3.9']
title = 'Weakref callbacks running before finalizers in GC collection'
updated_at = <Date 2020-04-20.21:54:30.265>
user = 'https://github.com/a-feld'
bugs.python.org fields:
activity = <Date 2020-04-20.21:54:30.265>
actor = 'tim.peters'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Interpreter Core']
creation = <Date 2020-04-17.19:52:40.901>
creator = 'a-feld'
dependencies = []
files = ['49076']
hgrepos = []
issue_num = 40312
keywords = ['patch']
message_count = 17.0
messages = ['366675', '366750', '366751', '366753', '366754', '366797', '366844', '366845', '366848', '366850', '366853', '366857', '366859', '366862', '366864', '366873', '366895']
nosy_count = 4.0
nosy_names = ['tim.peters', 'pablogsal', 'a-feld', 'deekay']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue40312'
versions = ['Python 2.7', 'Python 3.5', 'Python 3.6', 'Python 3.7', 'Python 3.8', 'Python 3.9']
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
リンクされた issue の議論と、アップロードされた 0001-Run-finalizers-before-invoking-weakref-callbacks.patch から始めてください。必要な実装と回帰テストのカバレッジを決定する前に、提案された変更と、その周辺にある CPython のガベージコレクションの動作を確認してください。GC のコレクション中に weakref callbacks が一貫して finalizers の後に実行され、関連するテストが通れば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python
- 領域
- compilers
- issue の種類
- バグ
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 20/100