Unable to pickle enum with nested frozen dataclass?
オープン
まだ誰も着手していません。
3.10
3.9 (EOL)
stdlib
topic-dataclasses
type-bug
- 主要言語
- Python
- スター
- 77.2k
- フォーク
- 36k
- 平均マージ
- 1日 9時間
- マージ済み PR(30日)
- 558
説明
| BPO | 45546 |
|---|---|
| Nosy | @ericvsmith, @ethanfurman, @EricCousineau-TRI |
| 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 2021-10-20.23:12:50.789>
labels = ['type-bug', 'library', '3.9', '3.10']
title = 'Unable to pickle enum with nested frozen dataclass?'
updated_at = <Date 2021-11-04.04:37:08.986>
user = 'https://github.com/EricCousineau-TRI'
bugs.python.org fields:
activity = <Date 2021-11-04.04:37:08.986>
actor = 'ethan.furman'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Library (Lib)']
creation = <Date 2021-10-20.23:12:50.789>
creator = 'Eric Cousineau'
dependencies = []
files = ['50378', '50384']
hgrepos = []
issue_num = 45546
keywords = []
message_count = 6.0
messages = ['404539', '404541', '404543', '404558', '404562', '404632']
nosy_count = 3.0
nosy_names = ['eric.smith', 'ethan.furman', 'Eric Cousineau']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue45546'
versions = ['Python 3.9', 'Python 3.10']
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
アップロードされた enum_test.py と enum_nested_type_test.py の例から始め、pickle 化に成功するケースと失敗するケースを再現します。ネストされた frozen dataclass enum の動作を比較し、例から意図された結果を確認します。失敗するケースを、成功するケースを退行させることなく pickle 化および unpickle できれば、作業は完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python
- 領域
- backend
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 35/100