dataclass looks up field default value on the class, not the class's __dict__
Aperta
@ericvsmith ci sta già lavorando.
Dal 17/6/2021.
3.10
3.11
3.9 (EOL)
stdlib
topic-dataclasses
type-bug
- Lingua principale
- Python
- Stelle
- 77.2k
- Fork
- 36k
- Metriche di merge delle PR
- Metriche PR in attesa
Descrizione
| BPO | 44443 |
|---|---|
| Nosy | @ericvsmith |
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 = 'https://github.com/ericvsmith'
closed_at = None
created_at = <Date 2021-06-17.12:34:23.449>
labels = ['type-bug', 'library', '3.9', '3.10', '3.11']
title = "dataclass looks up field default value on the class, not the class's __dict__"
updated_at = <Date 2021-06-17.14:07:17.550>
user = 'https://github.com/ericvsmith'
bugs.python.org fields:
activity = <Date 2021-06-17.14:07:17.550>
actor = 'eric.smith'
assignee = 'eric.smith'
closed = False
closed_date = None
closer = None
components = ['Library (Lib)']
creation = <Date 2021-06-17.12:34:23.449>
creator = 'eric.smith'
dependencies = []
files = []
hgrepos = []
issue_num = 44443
keywords = []
message_count = 1.0
messages = ['396000']
nosy_count = 1.0
nosy_names = ['eric.smith']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue44443'
versions = ['Python 3.9', 'Python 3.10', 'Python 3.11']
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Valutazione
Questa issue non è ancora stata valutata.